Use constexpr based definitions instead of macros

This commit is contained in:
2026-04-28 14:20:58 +02:00
parent e3447b13e6
commit beb4f316e5
10 changed files with 49 additions and 54 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ TEST_CASE("DiffractionExperiment_FrameCountTime_JUNGFRAU_PedestalG1G2","[Diffrac
REQUIRE(x.GetFrameTime() == 1000us);
REQUIRE(x.GetFrameCountTime() == 1000us - 50us);
x.Mode(DetectorMode::PedestalG1);
REQUIRE(x.GetFrameTime().count() == FRAME_TIME_PEDE_G1G2_IN_US);
REQUIRE(x.GetFrameTime() == FRAME_TIME_PEDE_G1G2);
REQUIRE(x.GetFrameCountTime() == 1000us - 50us);
}