Add a PromotionManager.
[tagua/yd.git] / tests / variants / chesspiecetest.h
blobcb34fdf769a0c05aeae8d7e9eac5cb64c50ad8d4
1 #ifndef CHESSPIECETEST_H
2 #define CHESSPIECETEST_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 INamer;
11 class Variant;
13 class ChessPieceTest : public CppUnit::TestFixture {
14 CPPUNIT_TEST_SUITE(ChessPieceTest);
15 CPPUNIT_TEST(test_basic);
16 CPPUNIT_TEST(test_names);
17 CPPUNIT_TEST(test_compare);
18 CPPUNIT_TEST_SUITE_END();
20 Variant* m_chess;
21 INamer* m_namer;
22 public:
23 void setUp();
24 void tearDown();
26 void test_basic();
27 void test_names();
28 void test_compare();
31 #endif // CHESSPIECETEST_H