Libsaki
Core library of Pancake Mahjong
test.h
1 #ifndef SAKI_TEST_H
2 #define SAKI_TEST_H
3 
4 #include <chrono>
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
13 class TestScope
14 {
15 public:
16  TestScope(const char *str, bool nl = false);
17  ~TestScope();
18 
19 private:
20  std::chrono::steady_clock::time_point mStart;
21 };
22 
23 
24 
25 
26 void testAll();
27 
28 void testUtil();
29 void testTileCount();
30 void testParse4();
31 void testParse7And13();
32 void testParseAll();
33 void testHand();
34 void testForm();
35 void testFormGb();
36 void testTable();
37 
38 
39 
40 } // namespace saki
41 
42 
43 
44 #endif // SAKI_TEST_H
Definition: test.h:13
Definition: ai.cpp:18