]> git.localhorst.tv Git - blank.git/blob - tst/world/ChunkTest.hpp
some tests for Chunk
[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_SUITE_END();
22
23 public:
24         void setUp();
25         void tearDown();
26
27         void testBounds();
28         void testBorder();
29         void testNeighbor();
30
31 private:
32         BlockTypeRegistry types;
33
34 };
35
36 }
37 }
38
39 #endif