]> git.localhorst.tv Git - blank.git/blob - tst/world/BlockTest.hpp
added block orientation test
[blank.git] / tst / world / BlockTest.hpp
1 #ifndef BLANK_TEST_WORLD_BLOCKTEST_H_
2 #define BLANK_TEST_WORLD_BLOCKTEST_H_
3
4 #include <cppunit/extensions/HelperMacros.h>
5
6
7 namespace blank {
8 namespace test {
9
10 class BlockTest
11 : public CppUnit::TestFixture {
12
13 CPPUNIT_TEST_SUITE(BlockTest);
14
15 CPPUNIT_TEST(testOrientation);
16 CPPUNIT_TEST(testFaceOpposite);
17 CPPUNIT_TEST(testFaceAxis);
18 CPPUNIT_TEST(testFaceNormal);
19 CPPUNIT_TEST(testNormalFace);
20
21 CPPUNIT_TEST(testFaceSet);
22
23 CPPUNIT_TEST(testDefaultBlock);
24
25 CPPUNIT_TEST_SUITE_END();
26
27 public:
28         void setUp();
29         void tearDown();
30
31         void testOrientation();
32
33         void testFaceOpposite();
34         void testFaceAxis();
35         void testFaceNormal();
36         void testNormalFace();
37
38         void testFaceSet();
39
40         void testDefaultBlock();
41
42 };
43
44 }
45 }
46
47 #endif