diff options
Diffstat (limited to 'src/Nerve_GIC/test/test_GIC.cpp')
-rw-r--r-- | src/Nerve_GIC/test/test_GIC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Nerve_GIC/test/test_GIC.cpp b/src/Nerve_GIC/test/test_GIC.cpp index 24fa8c8f..0b4b6ea7 100644 --- a/src/Nerve_GIC/test/test_GIC.cpp +++ b/src/Nerve_GIC/test/test_GIC.cpp @@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE(check_nerve) { std::string graph_file_name("data/graph"); GIC.set_graph_from_file(graph_file_name); std::string cover_file_name("data/cover"); GIC.set_cover_from_file(cover_file_name); GIC.set_color_from_coordinate(); - GIC.find_Nerve_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); + GIC.find_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); BOOST_CHECK(stree.num_vertices() == 3); BOOST_CHECK((stree.num_simplices()-stree.num_vertices()) == 0); @@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(check_funcGIC) { std::string cloud_file_name("data/cloud"); GIC.read_point_cloud(cloud_file_name); GIC.set_color_from_coordinate(); std::string graph_file_name("data/graph"); GIC.set_graph_from_file(graph_file_name); std::string cover_file_name("data/cover"); GIC.set_cover_from_file(cover_file_name); - GIC.find_GIC_simplices_with_functional_minimal_cover(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); + GIC.find_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); BOOST_CHECK(stree.num_vertices() == 3); BOOST_CHECK((stree.num_simplices()-stree.num_vertices()) == 2); @@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(check_regGIC) { std::string cloud_file_name("data/cloud"); GIC.read_point_cloud(cloud_file_name); GIC.set_color_from_coordinate(); std::string graph_file_name("data/graph"); GIC.set_graph_from_file(graph_file_name); std::string cover_file_name("data/cover"); GIC.set_cover_from_file(cover_file_name); - GIC.find_GIC_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); + GIC.find_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); BOOST_CHECK(stree.num_vertices() == 3); BOOST_CHECK((stree.num_simplices()-stree.num_vertices()) == 4); @@ -84,7 +84,7 @@ BOOST_AUTO_TEST_CASE(check_voronoiGIC) { std::string cloud_file_name("data/cloud"); GIC.read_point_cloud(cloud_file_name); GIC.set_color_from_coordinate(); std::string graph_file_name("data/graph"); GIC.set_graph_from_file(graph_file_name); GIC.set_cover_from_Voronoi(Gudhi::Euclidean_distance(),2); - GIC.find_GIC_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); + GIC.find_simplices(); Gudhi::Simplex_tree<> stree; GIC.create_complex(stree); BOOST_CHECK(stree.num_vertices() == 2); BOOST_CHECK((stree.num_simplices()-stree.num_vertices()) == 1); |