mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
tests wip
This commit is contained in:
@ -338,7 +338,11 @@ TEST_CASE("exptime", "[.cmd][.time]") {
|
|||||||
// Get exptime of single module
|
// Get exptime of single module
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("exptime", {}, 0, GET, oss);
|
proxy.Call("exptime", {}, 0, GET, oss);
|
||||||
REQUIRE(oss.str() == "exptime 0ns\n");
|
if (det_type == defs::MYTHEN3) {
|
||||||
|
REQUIRE(oss.str() == "exptime [0ns, 0ns, 0ns]\n");
|
||||||
|
} else {
|
||||||
|
REQUIRE(oss.str() == "exptime 0ns\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
det.setExptime(-1, prev_val);
|
det.setExptime(-1, prev_val);
|
||||||
|
Reference in New Issue
Block a user