Tentative MiniShogi implementation over move generator.
[tagua/yd.git] / tests / settings / settingstest.h
blob771b4b6e518d17d4d620b259dd4b832393c45561
1 #ifndef SETTINGSTEST_H
2 #define SETTINGSTEST_H
4 #include <cppunit/extensions/HelperMacros.h>
5 #include <cppunit/TestCaller.h>
6 #include <cppunit/TestResult.h>
7 #include <cppunit/TestFixture.h>
8 #include <cppunit/TestAssert.h>
10 class MasterSettings;
12 class SettingsTest : public CppUnit::TestFixture {
13 CPPUNIT_TEST_SUITE(SettingsTest);
14 CPPUNIT_TEST(test_null);
15 CPPUNIT_TEST(test_create_and_remove);
16 CPPUNIT_TEST(test_map);
17 CPPUNIT_TEST(test_array);
18 CPPUNIT_TEST_SUITE_END();
19 private:
20 MasterSettings* m_instance;
21 MasterSettings& test_settings();
22 public:
23 void setUp();
24 void tearDown();
26 void test_null();
27 void test_create_and_remove();
28 void test_map();
29 void test_array();
32 #endif // SETTINGSTEST_H