diff --git a/tests/src/test_mesh.cpp b/tests/src/test_mesh.cpp index d0e158da94630965d9667843cd903099a204b63d..e7aa18e58cb2038e2028776459a5b8c0f781e478 100644 --- a/tests/src/test_mesh.cpp +++ b/tests/src/test_mesh.cpp @@ -92,7 +92,7 @@ SCENARIO("The mesh component keeps track of its attributes", for (std::size_t i = 0; i < atts.size(); i++) { REQUIRE(atts[i].size() == texture_coordinates_copy[i].size()); for (std::size_t j = 0; j < atts.size(); j++) { - REQUIRE(atts[i][j] == texture_coordinates_copy[i][j]); + REQUIRE(atts[i][j] == Approx(texture_coordinates_copy[i][j])); } } }