-
Notifications
You must be signed in to change notification settings - Fork 0
/
GameTester.h
59 lines (48 loc) · 1000 Bytes
/
GameTester.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef GAMETESTER_H_
#define GAMETESTER_H_
#include <string>
#include "Game.h"
class GameTester {
public:
GameTester();
// obj
void testa();
void testb();
void testc();
void testd();
// player: pickup, inv, print
void teste();
void testf();
void testg();
void testh();
void testi();
// basic use, attack, heal
void testj();
void testk();
void testl();
void testm();
void testn();
void testo();
void testp();
void testq();
// more complex attack/heal, exceptions
void testr();
void tests();
void testt();
void testu();
void testv();
void testw();
void testx();
void testy();
// unused
void testz();
private:
// three overloaded versions
void errorOut_(const std::string& errMsg, unsigned int errBit);
void errorOut_(const std::string& errMsg, const std::string& errRes, unsigned int errBit);
void errorOut_(const std::string& errMsg, int errRes, unsigned int errBit);
void passOut_();
char error_;
std::string funcname_;
};
#endif /* GAMETESTER_H_ */