Use constexpr based definitions instead of macros
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user