X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tst%2Fnet%2FPacketTest.hpp;h=81cdd8280d0ac9a2c5011a65aff646f66d482ea1;hb=dcd54cacda98c2c0f7cf0c7a9131fb858d8ee10a;hp=89e15dd526e35982ec69d6630c924cdc3a603e5c;hpb=c1da86ebab41895bf49ed747c75ecf722e8c5586;p=blank.git diff --git a/tst/net/PacketTest.hpp b/tst/net/PacketTest.hpp index 89e15dd..81cdd82 100644 --- a/tst/net/PacketTest.hpp +++ b/tst/net/PacketTest.hpp @@ -1,7 +1,8 @@ #ifndef BLANK_TEST_NET_PACKETTEST_HPP_ #define BLANK_TEST_NET_PACKETTEST_HPP_ -#include "model/geometry.hpp" +#include "geometry/primitive.hpp" +#include "graphics/glm.hpp" #include "net/Packet.hpp" #include "world/EntityState.hpp" @@ -9,7 +10,6 @@ #include #include #include -#include #include @@ -21,6 +21,7 @@ class PacketTest CPPUNIT_TEST_SUITE(PacketTest); +CPPUNIT_TEST(testSizes); CPPUNIT_TEST(testControl); CPPUNIT_TEST(testPing); CPPUNIT_TEST(testLogin); @@ -33,6 +34,8 @@ CPPUNIT_TEST(testEntityUpdate); CPPUNIT_TEST(testPlayerCorrection); CPPUNIT_TEST(testChunkBegin); CPPUNIT_TEST(testChunkData); +CPPUNIT_TEST(testBlockUpdate); +CPPUNIT_TEST(testMessage); CPPUNIT_TEST_SUITE_END(); @@ -40,6 +43,7 @@ public: void setUp(); void tearDown(); + void testSizes(); void testControl(); void testPing(); void testLogin(); @@ -52,6 +56,8 @@ public: void testPlayerCorrection(); void testChunkBegin(); void testChunkData(); + void testBlockUpdate(); + void testMessage(); private: static void AssertPacket(