diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/fairing_test.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/fairing_test.cpp index 8f832fba098..5d5fd2ab400 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/fairing_test.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/fairing_test.cpp @@ -34,13 +34,13 @@ void test(const char* filename) } //try to fair the mesh - CGAL_assertion_code(std::size_t nbv = - std::distance(vertices(poly).first, vertices(poly).second)); + std::size_t nbv = + std::distance(vertices(poly).first, vertices(poly).second); CGAL::Polygon_mesh_processing::fair(poly, vertices(poly)); - CGAL_assertion_code(std::size_t nbv2 = - std::distance(vertices(poly).first, vertices(poly).second)); + std::size_t nbv2 = + std::distance(vertices(poly).first, vertices(poly).second); assert(nbv == nbv2); diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/self_intersection_polyhedron_test.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/self_intersection_polyhedron_test.cpp index b2218cb2452..10ff1e62cea 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/self_intersection_polyhedron_test.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/self_intersection_polyhedron_test.cpp @@ -33,7 +33,7 @@ int main(int argc, char** argv) (poly, std::back_inserter(intersected_tris), CGAL::Polygon_mesh_processing::parameters::vertex_index_map(get(CGAL::vertex_point, poly))); - CGAL_assertion_code(bool intersecting_1 = !intersected_tris.empty()); + bool intersecting_1 = !intersected_tris.empty(); assert(!intersecting_1); std::cerr << "Self-intersection test took " << timer.time() << " sec." << std::endl;