Skip to content

Commit

Permalink
Revert "REMOVE_ME: disable / simplify the tests"
Browse files Browse the repository at this point in the history
This reverts commit 41dd77e.
  • Loading branch information
cz4rs committed Aug 7, 2024
1 parent 10912c4 commit cc3da2c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
if (NOT BVH_DISABLE_TESTS)
add_executable(BVHTests
TestMain.cpp
# KDopTest.cpp
# TreeTest.cpp
# CollisionTest.cpp
# IteratorTest.cpp
KDopTest.cpp
TreeTest.cpp
CollisionTest.cpp
IteratorTest.cpp
#BroadphaseTest.cpp
#NarrowphaseTest.cpp
# SerializerTest.cpp
SerializerTest.cpp
#PatchTest.cpp
#PrimitiveTest.cpp
# bits_test.cpp
# hash_test.cpp
# sort_test.cpp
# SplitTest.cpp
# UtilTest.cpp
# math_vec_tests.cpp
bits_test.cpp
hash_test.cpp
sort_test.cpp
SplitTest.cpp
UtilTest.cpp
math_vec_tests.cpp
collision_object_test.cpp
# cluster_test.cpp
# snapshot_test.cpp
cluster_test.cpp
snapshot_test.cpp
)

if (Kokkos_FOUND)
Expand Down
6 changes: 3 additions & 3 deletions tests/collision_object_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ verify_empty_elements( std::size_t _count )

TEST_CASE( "collision_object init", "[vt]")
{
std::size_t od_factor = GENERATE( /*1,*/ 2/*, 4, 32, 64*/ );
std::size_t od_factor = GENERATE( 1, 2, 4, 32, 64 );
test_od_factor = od_factor;
bvh::collision_world world( od_factor );

Expand Down Expand Up @@ -128,7 +128,7 @@ TEST_CASE( "collision_object init", "[vt]")
auto update_elements = build_element_grid( 2 * od_factor, 3 * od_factor, 2 * od_factor, rank * 12 * od_factor, 10.0 );

auto split_method
= GENERATE( /*bvh::split_algorithm::geom_axis, bvh::split_algorithm::ml_geom_axis,*/ bvh::split_algorithm::clustering );
= GENERATE( bvh::split_algorithm::geom_axis, bvh::split_algorithm::ml_geom_axis, bvh::split_algorithm::clustering );

bvh::vt::debug("{}: od_factor: {} split method: {}\n", ::vt::theContext()->getNode(), od_factor, static_cast< int >( split_method ) );

Expand Down Expand Up @@ -373,7 +373,7 @@ void verify_single_narrowphase( const bvh::vt::reducable_vector< detailed_narrow
TEST_CASE( "collision_object narrowphase", "[vt]")
{
auto split_method
= GENERATE( /*bvh::split_algorithm::geom_axis, bvh::split_algorithm::ml_geom_axis,*/ bvh::split_algorithm::clustering );
= GENERATE( bvh::split_algorithm::geom_axis, bvh::split_algorithm::ml_geom_axis, bvh::split_algorithm::clustering );

bvh::vt::debug("{}: split method: {}\n", ::vt::theContext()->getNode(), static_cast< int >( split_method ) );

Expand Down

0 comments on commit cc3da2c

Please sign in to comment.