mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-24 21:57:54 +01:00
fixed tests
This commit is contained in:
1 parent
5aa856b59e
commit
58fc862bdc
1 file changed
+3
-1
@@ -525,10 +525,12 @@ TEST_CASE("pedestalmode", "[.detectorintegration]") {
|
||||
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"256", "10"}, -1, PUT));
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"-1", "10"}, 0, PUT));
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"20", "1000"}, 0, PUT));
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"20", "65536"}, 0, PUT));
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"2000", "100"}, 0, PUT));
|
||||
REQUIRE_THROWS(caller.call("pedestalmode", {"20", "-1"}, 0, PUT));
|
||||
|
||||
REQUIRE_NOTHROW(caller.call("pedestalmode", {"20", "4000"}, 0, PUT));
|
||||
|
||||
{
|
||||
std::ostringstream oss;
|
||||
caller.call("pedestalmode", {"30", "100"}, -1, PUT, oss);
|
||||
|
||||
Reference in new issue
Block a user