mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 21:00:02 +02:00
WIP
This commit is contained in:
parent
7f6d57d6ba
commit
ff9811895f
@ -17,8 +17,7 @@ using test::PUT;
|
|||||||
|
|
||||||
/* dacs */
|
/* dacs */
|
||||||
|
|
||||||
TEST_CASE("Setting and reading back Chip test board dacs",
|
TEST_CASE("dac", "[.cmd][.dacs][.new]") {
|
||||||
"[.cmd][.dacs][.new]") {
|
|
||||||
// dac 0 to dac 17
|
// dac 0 to dac 17
|
||||||
|
|
||||||
Detector det;
|
Detector det;
|
||||||
|
@ -1010,6 +1010,22 @@ TEST_CASE("temp_fpga", "[.cmd][.new]") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* dacs */
|
||||||
|
|
||||||
|
TEST_CASE("daclist", "[.cmd][.new]") {
|
||||||
|
Detector det;
|
||||||
|
CmdProxy proxy(&det);
|
||||||
|
REQUIRE_NOTHROW(proxy.Call("daclist", {}, -1, GET));
|
||||||
|
REQUIRE_THROWS(proxy.Call("daclist", {}, -1, PUT));
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST_CASE("dacvalues", "[.cmd][.new]") {
|
||||||
|
Detector det;
|
||||||
|
CmdProxy proxy(&det);
|
||||||
|
REQUIRE_NOTHROW(proxy.Call("dacvalues", {}, -1, GET));
|
||||||
|
REQUIRE_THROWS(proxy.Call("dacvalues", {}, -1, PUT));
|
||||||
|
}
|
||||||
|
|
||||||
/* acquisition */
|
/* acquisition */
|
||||||
|
|
||||||
TEST_CASE("clearbusy", "[.cmd][.new]") {
|
TEST_CASE("clearbusy", "[.cmd][.new]") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user