Skip to content

Commit

Permalink
Merge pull request #1426 from DLR-AMR/remove-doubled_-in-test-names
Browse files Browse the repository at this point in the history
Remove doubled underscores in test names
  • Loading branch information
ole-alb authored Feb 21, 2025
2 parents 1637fa1 + 3494a53 commit 22a3f20
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion test/t8_cmesh_generator/t8_cmesh_example_sets.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ auto pretty_print_base_example = [] (const testing::TestParamInfo<cmesh_example_
auto pretty_print_base_example_scheme = [] (const testing::TestParamInfo<std::tuple<int, cmesh_example_base *>> &info) {
std::string name;
std::get<1> (info.param)->param_to_string (name);
name += std::string ("scheme_") + std::to_string (std::get<0> (info.param));
name += std::string ("_scheme_") + std::to_string (std::get<0> (info.param));
name += std::string ("_") + std::to_string (info.index);
return name;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ example_set *cmesh_example
std::make_pair (cmesh_params::eclasses.begin (), cmesh_params::eclasses.end ()),
std::make_pair (cmesh_params::large_mesh.begin (), cmesh_params::large_mesh.end ()),
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()), bigmesh, make_param_string_wrapper,
"t8_cmesh_new_bigmesh_");
"t8_cmesh_new_bigmesh");
} // namespace new_bigmesh

#endif /* T8_CMESH_NEW_BIGMESH_PARAM_HXX */
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ std::vector<std::function<t8_cmesh_t (sc_MPI_Comm)>> cmesh_functions = { t8_cmes
t8_cmesh_new_hybrid_gate_deformed,
t8_cmesh_new_full_hybrid };

std::vector<std::string> names = { "t8_cmesh_new_periodic_tri_",
"t8_cmesh_new_periodic_hybrid_",
"t8_cmesh_new_periodic_line_more_trees_",
"t8_cmesh_new_line_zigzag_",
"t8_cmesh_new_prism_deformed_",
"t8_cmesh_new_pyramid_deformed_",
"t8_cmesh_new_prism_cake_funny_oriented_",
"t8_cmesh_new_prism_geometry_",
"t8_cmesh_new_tet_orientation_test_",
"t8_cmesh_new_hybrid_gate_",
"t8_cmesh_new_hybrid_gate_deformed_",
"t8_cmesh_new_full_hybrid_" };
std::vector<std::string> names = { "t8_cmesh_new_periodic_tri",
"t8_cmesh_new_periodic_hybrid",
"t8_cmesh_new_periodic_line_more_trees",
"t8_cmesh_new_line_zigzag",
"t8_cmesh_new_prism_deformed",
"t8_cmesh_new_pyramid_deformed",
"t8_cmesh_new_prism_cake_funny_oriented",
"t8_cmesh_new_prism_geometry",
"t8_cmesh_new_tet_orientation_test",
"t8_cmesh_new_hybrid_gate",
"t8_cmesh_new_hybrid_gate_deformed",
"t8_cmesh_new_full_hybrid" };

example_set *cmesh_example
= (example_set *) new cmesh_cartesian_product_params<decltype (cmesh_params::my_comms.begin ())> (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ example_set *cmesh_example = (example_set *) new cmesh_cartesian_product_params<
std::make_pair (cmesh_params::periodic.begin (), cmesh_params::periodic.end ()),
std::make_pair (cmesh_params::periodic.begin (), cmesh_params::periodic.end ()),
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()), disjoint_bricks,
make_param_string_wrapper, "t8_cmesh_new_disjoint_brick_");
make_param_string_wrapper, "t8_cmesh_new_disjoint_brick");
} // namespace new_disjoint_bricks

#endif /* T8_CMESH_NEW_DISJOINT_BRICKS_PARAM_HXX */
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ example_set *cmesh_example
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()),
std::make_pair (cmesh_params::partition.begin (), cmesh_params::partition.end ()),
std::make_pair (cmesh_params::do_bcast.begin (), cmesh_params::do_bcast.end ()), new_from_class_wrapper,
print_function, "t8_cmesh_new_empty_");
print_function, "t8_cmesh_new_empty");
} /* namespace new_empty */

#endif /* T8_CMESH_NEW_EMPTY_HXX */
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ example_set *cmesh_example
decltype (cmesh_params::my_comms.begin ())> (
std::make_pair (cmesh_params::eclasses.begin (), cmesh_params::eclasses.end ()),
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()), new_from_class_wrapper,
print_function, "t8_cmesh_new_from_class_");
print_function, "t8_cmesh_new_from_class");

} // namespace new_from_class

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ example_set *cmesh_example = (example_set *) new cmesh_cartesian_product_params<
std::make_pair (cmesh_params::do_bcast.begin (), cmesh_params::do_bcast.end ()),
std::make_pair (cmesh_params::partition.begin (), cmesh_params::partition.end ()),
std::make_pair (cmesh_params::periodic.begin (), cmesh_params::periodic.end ()), cmesh_wrapper, param_to_string,
"t8_cmesh_new_hypercube_");
"t8_cmesh_new_hypercube");

example_set *cmesh_example_pyra = (example_set *) new cmesh_cartesian_product_params<
decltype (periodic_eclasses.begin ()), decltype (cmesh_params::my_comms.begin ()),
Expand All @@ -74,7 +74,7 @@ example_set *cmesh_example_pyra = (example_set *) new cmesh_cartesian_product_pa
std::make_pair (cmesh_params::do_bcast.begin (), cmesh_params::do_bcast.end ()),
std::make_pair (cmesh_params::partition.begin (), cmesh_params::partition.end ()),
std::make_pair (cmesh_params::no_periodic.begin (), cmesh_params::no_periodic.end ()), cmesh_wrapper, param_to_string,
"t8_cmesh_new_hypercube_");
"t8_cmesh_new_hypercube");
} // namespace new_hypercube_cmesh

#endif /* T8_CMESH_NEW_HYPERCUBE_PARAM_HXX */
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ example_set *cmesh_example
decltype (cmesh_params::dims.begin ())> (
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()),
std::make_pair (cmesh_params::dims.begin (), cmesh_params::dims.end ()), new_from_periodic_wrapper, print_function,
"t8_cmesh_new_periodic_");
"t8_cmesh_new_periodic");
} // namespace new_periodic

#endif /* T8_CMESH_NEW_PERIODIC_HXX */
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ example_set *cmesh_example
decltype (cmesh_params::num_prisms.begin ())> (
std::make_pair (cmesh_params::my_comms.begin (), cmesh_params::my_comms.end ()),
std::make_pair (cmesh_params::num_prisms.begin (), cmesh_params::num_prisms.end ()), prism_cake,
make_param_string_wrapper, "t8_cmesh_new_prism_cake_");
make_param_string_wrapper, "t8_cmesh_new_prism_cake");
} // namespace new_prism_cake

#endif /* T8_CMESH_NEW_PRISM_CAKE_PARAM_HXX */

0 comments on commit 22a3f20

Please sign in to comment.