mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
fixed tests
This commit is contained in:
parent
d8e497dbb3
commit
66cf1825ea
@ -493,9 +493,9 @@ TEST_CASE("rx_roi", "[.cmd]") {
|
|||||||
-1, PUT, oss);
|
-1, PUT, oss);
|
||||||
REQUIRE(oss.str() == std::string("rx_roi [1, ") +
|
REQUIRE(oss.str() == std::string("rx_roi [1, ") +
|
||||||
std::to_string(detsize.x - 5) +
|
std::to_string(detsize.x - 5) +
|
||||||
std::string(", ") +
|
std::string(", 1, ") +
|
||||||
std::to_string(detsize.y - 5) +
|
std::to_string(detsize.y - 5) +
|
||||||
std::string(", 1]\n"));
|
std::string("]\n"));
|
||||||
}
|
}
|
||||||
REQUIRE_THROWS(
|
REQUIRE_THROWS(
|
||||||
proxy.Call("rx_roi", {"-1", "-1", "-1", "-1"}, -1, PUT));
|
proxy.Call("rx_roi", {"-1", "-1", "-1", "-1"}, -1, PUT));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user