mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 01:50:40 +02:00
mythen3 works
This commit is contained in:
parent
6b843097e3
commit
cb32bfb0cd
@ -973,8 +973,14 @@ TEST_CASE("readoutspeed", "[.cmd]") {
|
|||||||
TEST_CASE("readoutspeedlist", "[.cmd]") {
|
TEST_CASE("readoutspeedlist", "[.cmd]") {
|
||||||
Detector det;
|
Detector det;
|
||||||
CmdProxy proxy(&det);
|
CmdProxy proxy(&det);
|
||||||
REQUIRE_NOTHROW(proxy.Call("readoutspeedlist", {}, -1, GET));
|
auto det_type = det.getDetectorType().squash();
|
||||||
REQUIRE_THROWS(proxy.Call("readoutspeedlist", {}, -1, PUT));
|
if (det_type == defs::GOTTHARD2 || det_type == defs::JUNGFRAU || det_type == defs::EIGER)
|
||||||
|
{
|
||||||
|
REQUIRE_NOTHROW(proxy.Call("readoutspeedlist", {}, -1, GET));
|
||||||
|
REQUIRE_THROWS(proxy.Call("readoutspeedlist", {}, -1, PUT));
|
||||||
|
} else {
|
||||||
|
REQUIRE_THROWS(proxy.Call("readoutspeedlist", {}, -1, GET));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("adcphase", "[.cmd]") {
|
TEST_CASE("adcphase", "[.cmd]") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user