mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
formatting
This commit is contained in:
parent
c679135138
commit
270ee48148
@ -2433,8 +2433,8 @@ TEST_CASE("nextframenumber", "[.cmdcall]") {
|
|||||||
det.getPeriod().tsquash("inconsistent period in test");
|
det.getPeriod().tsquash("inconsistent period in test");
|
||||||
auto prev_burstmode =
|
auto prev_burstmode =
|
||||||
det.getBurstMode().tsquash("inconsistent burst mode in test");
|
det.getBurstMode().tsquash("inconsistent burst mode in test");
|
||||||
auto prev_bursts = det.getNumberOfBursts().tsquash(
|
auto prev_bursts =
|
||||||
"inconsistent #bursts in test");
|
det.getNumberOfBursts().tsquash("inconsistent #bursts in test");
|
||||||
auto prev_burstperiod = det.getBurstPeriod().tsquash(
|
auto prev_burstperiod = det.getBurstPeriod().tsquash(
|
||||||
"inconsistent burst period in test");
|
"inconsistent burst period in test");
|
||||||
|
|
||||||
@ -2448,8 +2448,8 @@ TEST_CASE("nextframenumber", "[.cmdcall]") {
|
|||||||
|
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
std::this_thread::sleep_for(std::chrono::seconds(2));
|
||||||
auto currentfnum =
|
auto currentfnum = det.getNextFrameNumber().tsquash(
|
||||||
det.getNextFrameNumber().tsquash("inconsistent frame nr in test");
|
"inconsistent frame nr in test");
|
||||||
REQUIRE(currentfnum == 2);
|
REQUIRE(currentfnum == 2);
|
||||||
|
|
||||||
det.setTimingMode(prev_timing);
|
det.setTimingMode(prev_timing);
|
||||||
@ -2474,8 +2474,8 @@ TEST_CASE("nextframenumber", "[.cmdcall]") {
|
|||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
std::this_thread::sleep_for(std::chrono::seconds(2));
|
||||||
auto currentfnum =
|
auto currentfnum = det.getNextFrameNumber().tsquash(
|
||||||
det.getNextFrameNumber().tsquash("inconsistent frame nr in test");
|
"inconsistent frame nr in test");
|
||||||
REQUIRE(currentfnum == 2);
|
REQUIRE(currentfnum == 2);
|
||||||
if (det_type == defs::EIGER) {
|
if (det_type == defs::EIGER) {
|
||||||
auto prev_tengiga =
|
auto prev_tengiga =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user