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>
12 class BoardTest
: public CppUnit::TestFixture
{
13 CPPUNIT_TEST_SUITE(BoardTest
);
14 CPPUNIT_TEST(test_size
);
15 CPPUNIT_TEST(test_get_null
);
16 CPPUNIT_TEST(test_set_get
);
17 CPPUNIT_TEST(test_valid
);
18 CPPUNIT_TEST(test_set_invalid
);
19 CPPUNIT_TEST(test_compare
);
20 CPPUNIT_TEST(test_clone
);
21 CPPUNIT_TEST(test_find
);
23 CPPUNIT_TEST(test_pathinfo_h
);
24 CPPUNIT_TEST(test_pathinfo_v
);
25 CPPUNIT_TEST(test_pathinfo_d
);
26 CPPUNIT_TEST(test_pathinfo_invalid
);
27 CPPUNIT_TEST(test_pathinfo_obstacles
);
28 CPPUNIT_TEST_SUITE_END();
40 void test_set_invalid();
46 void test_pathinfo_h();
47 void test_pathinfo_v();
48 void test_pathinfo_d();
49 void test_pathinfo_invalid();
50 void test_pathinfo_obstacles();