Skip to content

Commit

Permalink
forgotten change name
Browse files Browse the repository at this point in the history
  • Loading branch information
hschreiber authored Feb 19, 2025
1 parent e1ff76b commit b80f0d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Simplex_tree/test/simplex_tree_unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(NSimplexAndSubfaces_tree_insertion, typeST, list_o
}

template<class typeST>
void build_simplex_tree_with_strategy(typeST& simplexTree, typename typeST::Insertion_strategies s){
void build_simplex_tree_with_strategy(typeST& simplexTree, typename typeST::Insertion_strategy s){
simplexTree.insert_simplex_and_subfaces({0,1,2}, 3, s);
simplexTree.insert_simplex_and_subfaces({1,3}, 4, s);
simplexTree.insert_simplex_and_subfaces({4,5}, 6, s);
Expand All @@ -610,7 +610,7 @@ void build_simplex_tree_with_strategy(typeST& simplexTree, typename typeST::Inse
template<class typeST>
void test_lowest_strategy(){
typeST simplexTree;
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategies::LOWEST);
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategy::LOWEST);

BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({0})), 2);
BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({1})), 2);
Expand Down Expand Up @@ -644,7 +644,7 @@ void test_lowest_strategy(){
template<class typeST>
void test_highest_strategy(){
typeST simplexTree;
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategies::HIGHEST);
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategy::HIGHEST);

BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({0})), 3);
BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({1})), 3);
Expand Down Expand Up @@ -682,7 +682,7 @@ void test_possible_strategy(){
simplexTree.insert_batch_vertices({4}, 1);
simplexTree.insert_batch_vertices({5,0,6}, 2);
simplexTree.insert_simplex({3,6}, 4);
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategies::FIRST_POSSIBLE);
build_simplex_tree_with_strategy(simplexTree, typeST::Insertion_strategy::FIRST_POSSIBLE);

BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({0})), 2);
BOOST_CHECK_EQUAL(simplexTree.filtration(simplexTree.find({1})), 0);
Expand Down

0 comments on commit b80f0d6

Please sign in to comment.