diff --git a/test/tstDetailsTreeConstruction.cpp b/test/tstDetailsTreeConstruction.cpp index 7cfcced278..f8da6c1fa6 100644 --- a/test/tstDetailsTreeConstruction.cpp +++ b/test/tstDetailsTreeConstruction.cpp @@ -79,6 +79,16 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(assign_morton_codes, DeviceType, BOOST_TEST(ArborX::Details::equals( scene_host, {{{0.0, 0.0, 0.0}}, {{(float)N, (float)N, (float)N}}})); + ArborX::Details::LegacyValues values{boxes, ArborX::Box{}}; + ArborX::Details::Indexables + indexables{values, ArborX::Details::DefaultIndexableGetter{}}; + scene_host = ArborX::Box{}; + ArborX::Details::TreeConstruction::calculateBoundingBoxOfTheScene( + space, indexables, scene_host); + BOOST_TEST(ArborX::Details::equals( + scene_host, {{{0.0, 0.0, 0.0}}, {{(float)N, (float)N, (float)N}}})); + Kokkos::View morton_codes("morton_codes", n); ArborX::Details::TreeConstruction::projectOntoSpaceFillingCurve(