From b5455ec497019efacf20ae87e279a6105947509d Mon Sep 17 00:00:00 2001 From: Heiko Overath <overath@vr.rwth-aachen.de> Date: Thu, 26 Jul 2018 15:42:18 +0200 Subject: [PATCH] FIX add another approx --- tests/src/test_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/test_mesh.cpp b/tests/src/test_mesh.cpp index d0e158da..e7aa18e5 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])); } } } -- GitLab