From 6f3a26821209ac51fe498c59f29a2c1efb07b4cf Mon Sep 17 00:00:00 2001 From: Stephen Nicholas Swatman Date: Tue, 18 Jun 2024 17:04:55 +0200 Subject: [PATCH] Fix SYCL clustering test after #605 This is the SYCL equivalent of #614. --- tests/sycl/test_clusterization.sycl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/sycl/test_clusterization.sycl b/tests/sycl/test_clusterization.sycl index 0a1a42af28..07e753ebf5 100644 --- a/tests/sycl/test_clusterization.sycl +++ b/tests/sycl/test_clusterization.sycl @@ -30,7 +30,7 @@ auto handle_async_error = [](::sycl::exception_list elist) { } }; -TEST(clusterization, sycl) { +TEST(SYCLClustering, SingleModule) { // Memory resource used by the EDM. vecmem::sycl::shared_memory_resource shared_mr; @@ -76,9 +76,10 @@ TEST(clusterization, sycl) { test.insert(measurements[1]); std::set ref; - ref.insert({{2.f, 2.f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}}); ref.insert( - {{6.f, 5.f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}}); + {{2.5f, 2.5f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}}); + ref.insert( + {{6.5f, 5.5f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}}); EXPECT_EQ(test, ref); }