1 #ifndef CHESSGAMESTATETEST_H
2 #define CHESSGAMESTATETEST_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>
13 class ChessGameStateTest
: public CppUnit::TestFixture
{
14 CPPUNIT_TEST_SUITE(ChessGameStateTest
);
15 CPPUNIT_TEST(test_setup
);
16 CPPUNIT_TEST(test_simple_move
);
17 CPPUNIT_TEST(test_capture
);
18 CPPUNIT_TEST(test_en_passant
);
19 CPPUNIT_TEST(test_kingside_castling
);
20 CPPUNIT_TEST(test_queenside_castling
);
21 CPPUNIT_TEST(test_promotion
);
22 CPPUNIT_TEST_SUITE_END();
25 IDefaultState
* m_state
;
31 void test_simple_move();
33 void test_en_passant();
34 void test_kingside_castling();
35 void test_queenside_castling();
36 void test_promotion();
39 #endif // CHESSGAMESTATETEST_H