jfjoch_tests: Fix for new detector geometry

This commit is contained in:
2025-11-18 16:33:57 +01:00
parent 7784dcdd2e
commit 96db052c31
2 changed files with 4 additions and 4 deletions

View File

@@ -230,8 +230,8 @@ TEST_CASE("DetectorGeometryModular_Limit", "[DetectorGeometry]") {
DetectorGeometryModular geometry(module_geom);
REQUIRE(geometry.GetModulesNum() == 2);
CHECK(geometry.GetWidth(true) == 5000 + 513 - (-100 - 1029));
CHECK(geometry.GetHeight(true) == 2999 + 513 - 500);
CHECK(geometry.GetWidth(true) == 5000 + 514 - (-100 - 1030) - 1);
CHECK(geometry.GetHeight(true) == 2999 - 500 + 1);
}
TEST_CASE("DetectorGeometryModular_Custom_Mirror", "[DetectorGeometry]") {