1 #ifndef BLOBS_TEST_ASSETS_HPP_
2 #define BLOBS_TEST_ASSETS_HPP_
4 #include "graphics/glm.hpp"
15 const std::string &msg,
16 const glm::tvec3<T> &expected,
17 const glm::tvec3<T> &actual,
18 T epsilon = std::numeric_limits<T>::epsilon()
20 CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(
21 msg + " (X component)",
22 expected.x, actual.x, epsilon
24 CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(
25 msg + " (Y component)",
26 expected.y, actual.y, epsilon
28 CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(
29 msg + " (Z component)",
30 expected.z, actual.z, epsilon