Skip to content
Snippets Groups Projects
Commit b5455ec4 authored by Heiko Overath's avatar Heiko Overath
Browse files

FIX add another approx

parent fb4bc9d2
No related branches found
No related tags found
1 merge request!161Feature/#468 access isosurface scalar
...@@ -92,7 +92,7 @@ SCENARIO("The mesh component keeps track of its attributes", ...@@ -92,7 +92,7 @@ SCENARIO("The mesh component keeps track of its attributes",
for (std::size_t i = 0; i < atts.size(); i++) { for (std::size_t i = 0; i < atts.size(); i++) {
REQUIRE(atts[i].size() == texture_coordinates_copy[i].size()); REQUIRE(atts[i].size() == texture_coordinates_copy[i].size());
for (std::size_t j = 0; j < atts.size(); j++) { 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]));
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment