From 9d2107b3a89f2096a9cbfdda88946c0f07995395 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Tue, 3 Dec 2019 15:17:43 +0100 Subject: [PATCH] Update tests --- .../test/Combinatorial_map/Combinatorial_map_test.cpp | 8 ++++---- .../fundamental_group_of_the_circle.cpp | 7 +++++-- .../fundamental_group_of_the_torus.cpp | 9 ++++++--- .../test/Surface_mesh_topology/homotopy_big_cylinder.cpp | 7 +++++-- .../homotopy_double_torus_with_holes.cpp | 7 +++++-- .../homotopy_rond_point_saucisse.cpp | 7 +++++-- .../Surface_mesh_topology/homotopy_small_cylinder.cpp | 7 +++++-- .../test_homotopy_with_polygonal_schema.cpp | 7 +++++-- .../test/Surface_mesh_topology/tests_path_on_surface.cpp | 5 ++++- 9 files changed, 44 insertions(+), 20 deletions(-) diff --git a/Combinatorial_map/test/Combinatorial_map/Combinatorial_map_test.cpp b/Combinatorial_map/test/Combinatorial_map/Combinatorial_map_test.cpp index 3aab5bf4177..bb0a850e1b1 100644 --- a/Combinatorial_map/test/Combinatorial_map/Combinatorial_map_test.cpp +++ b/Combinatorial_map/test/Combinatorial_map/Combinatorial_map_test.cpp @@ -214,8 +214,8 @@ bool test_face_graph_wrapper() CGAL::Face_graph_wrapper fgw1(m); std::vector cells=fgw1.count_all_cells(); - if (cells[0]!=1487 || cells[1]!=4406 || cells[2]!=2918 || - fgw1.number_of_darts()!=8754) + if (cells[0]!=1487 || cells[1]!=4406 || cells[2]!=2921 || + fgw1.number_of_darts()!=8812) { std::cout<<"Error: incorrect number of cells in test_face_graph_wrapper " <<"for Surface_mesh: " @@ -235,8 +235,8 @@ bool test_face_graph_wrapper() in2>>p; CGAL::Face_graph_wrapper fgw2(p); cells=fgw2.count_all_cells(); - if (cells[0]!=1487 || cells[1]!=4406 || cells[2]!=2918 || - fgw2.number_of_darts()!=8754) + if (cells[0]!=1487 || cells[1]!=4406 || cells[2]!=2921 || + fgw2.number_of_darts()!=8812) { std::cout<<"Error: incorrect number of cells in test_face_graph_wrapper " <<"for Polyhedron." diff --git a/Surface_mesh_topology/test/Surface_mesh_topology/fundamental_group_of_the_circle.cpp b/Surface_mesh_topology/test/Surface_mesh_topology/fundamental_group_of_the_circle.cpp index 3daae20b3ea..54d9ff78634 100644 --- a/Surface_mesh_topology/test/Surface_mesh_topology/fundamental_group_of_the_circle.cpp +++ b/Surface_mesh_topology/test/Surface_mesh_topology/fundamental_group_of_the_circle.cpp @@ -169,8 +169,11 @@ int main() } if (test_valid) - { std::cout<<"All tests are OK"<