X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tst%2Fworld%2FChunkTest.hpp;fp=tst%2Fworld%2FChunkTest.hpp;h=00d05705deae3b2437827ab989ac58452307c5b5;hb=c592d2d6e230851bd7ed74d98f9046469f4086fd;hp=0000000000000000000000000000000000000000;hpb=7d3ab0dcce7abb6d5f766315685424e82478212f;p=blank.git diff --git a/tst/world/ChunkTest.hpp b/tst/world/ChunkTest.hpp new file mode 100644 index 0000000..00d0570 --- /dev/null +++ b/tst/world/ChunkTest.hpp @@ -0,0 +1,39 @@ +#ifndef BLANK_TEST_WORLD_CHUNKTEST_H_ +#define BLANK_TEST_WORLD_CHUNKTEST_H_ + +#include "world/BlockTypeRegistry.hpp" + +#include + + +namespace blank { +namespace test { + +class ChunkTest +: public CppUnit::TestFixture { + +CPPUNIT_TEST_SUITE(ChunkTest); + +CPPUNIT_TEST(testBounds); +CPPUNIT_TEST(testBorder); +CPPUNIT_TEST(testNeighbor); + +CPPUNIT_TEST_SUITE_END(); + +public: + void setUp(); + void tearDown(); + + void testBounds(); + void testBorder(); + void testNeighbor(); + +private: + BlockTypeRegistry types; + +}; + +} +} + +#endif