+ void testPlayerUpdate();
+ void testSpawnEntity();
+ void testDespawnEntity();
+ void testEntityUpdate();
+ void testPlayerCorrection();
+ void testChunkBegin();
+ void testChunkData();
+ void testBlockUpdate();
+
+private:
+ static void AssertPacket(
+ const std::string &name,
+ std::uint8_t expected_type,
+ std::size_t expected_length,
+ const Packet::Payload &actual);
+ static void AssertPacket(
+ const std::string &name,
+ std::uint8_t expected_type,
+ std::size_t min_length,
+ std::size_t max_length,
+ const Packet::Payload &actual);
+
+ static void AssertEqual(
+ const std::string &message,
+ const EntityState &expected,
+ const EntityState &actual);
+ static void AssertEqual(
+ const std::string &message,
+ const AABB &expected,
+ const AABB &actual);
+ static void AssertEqual(
+ const std::string &message,
+ const glm::ivec3 &expected,
+ const glm::ivec3 &actual);
+ static void AssertEqual(
+ const std::string &message,
+ const glm::vec3 &expected,
+ const glm::vec3 &actual,
+ float epsilon = std::numeric_limits<float>::epsilon());
+ static void AssertEqual(
+ const std::string &message,
+ const glm::quat &expected,
+ const glm::quat &actual);