]> git.localhorst.tv Git - blank.git/blob - tst/world/ChunkTest.hpp
(shabby) client side handling of messages
[blank.git] / tst / world / ChunkTest.hpp
1 #ifndef BLANK_TEST_WORLD_CHUNKTEST_H_
2 #define BLANK_TEST_WORLD_CHUNKTEST_H_
3
4 #include "world/BlockTypeRegistry.hpp"
5
6 #include <cppunit/extensions/HelperMacros.h>
7
8
9 namespace blank {
10 namespace test {
11
12 class ChunkTest
13 : public CppUnit::TestFixture {
14
15 CPPUNIT_TEST_SUITE(ChunkTest);
16
17 CPPUNIT_TEST(testBounds);
18 CPPUNIT_TEST(testBorder);
19 CPPUNIT_TEST(testNeighbor);
20
21 CPPUNIT_TEST(testBlock);
22 CPPUNIT_TEST(testLight);
23 CPPUNIT_TEST(testLightPropagation);
24
25 CPPUNIT_TEST_SUITE_END();
26
27 public:
28         void setUp();
29         void tearDown();
30
31         void testBounds();
32         void testBorder();
33         void testNeighbor();
34
35         void testBlock();
36         void testLight();
37         void testLightPropagation();
38
39 private:
40         BlockTypeRegistry types;
41
42 };
43
44 }
45 }
46
47 #endif