mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-13 05:23:55 +01:00
tests wip
This commit is contained in:
1 parent
980d76a15a
commit
5ee95cf811
1 file changed
+5
-1
@@ -338,7 +338,11 @@ TEST_CASE("exptime", "[.cmd][.time]") {
|
||||
// Get exptime of single module
|
||||
std::ostringstream 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);
|
||||
|
||||
Reference in new issue
Block a user