diff --git a/Optimal_transportation_reconstruction_2/test/Optimal_transportation_reconstruction_2/test_vertex_edge.cpp b/Optimal_transportation_reconstruction_2/test/Optimal_transportation_reconstruction_2/test_vertex_edge.cpp index 410173c5ddb..57520032817 100644 --- a/Optimal_transportation_reconstruction_2/test/Optimal_transportation_reconstruction_2/test_vertex_edge.cpp +++ b/Optimal_transportation_reconstruction_2/test/Optimal_transportation_reconstruction_2/test_vertex_edge.cpp @@ -36,12 +36,10 @@ typedef Rt_2::Edge Edge; typedef Rt_2::Rec_edge_2 R_edge_2; void simple_point_set(PointMassList &points); -void test_num_of_vertices_in_triangulation(); void test_edge_collapse(); int main () { - test_num_of_vertices_in_triangulation(); test_edge_collapse(); } @@ -123,29 +121,6 @@ void test_edge_collapse() CGAL_USE(found); } -void test_num_of_vertices_in_triangulation() -{ - std::cerr << "test_num_of_vertices_in_triangulation" << std::endl; - - PointMassList points; - simple_point_set(points); - - CGAL::Optimal_transportation_reconstruction_2 otr2; - int nb = 0; - for (PointMassList::iterator it = points.begin(); it != points.end(); it++) - { - PointMassPair pmp = *it; - Point point = pmp.first; - otr2.insert_point(point, false, nb++); - } - - Rt_2 rt2; - otr2.extract_tds_output(rt2); - - //test if vertices are indeed added to the Reconstruction_triangulation_2 - assert(points.size() == rt2.number_of_vertices()); -} - void simple_point_set(PointMassList &points) { points.push_back(std::make_pair(Point(0.1,0.1), 1));