mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 15:15:56 +01:00
fixed tests
This commit is contained in:
@@ -1454,8 +1454,9 @@ TEST_CASE("currentsource", "[.cmd]") {
|
|||||||
}
|
}
|
||||||
// jungfrau
|
// jungfrau
|
||||||
else {
|
else {
|
||||||
auto chipVersion = det.getChipVersion().tsquash(
|
int chipVersion = det.getChipVersion().tsquash(
|
||||||
"inconsistent chip versions to test");
|
"inconsistent chip versions to test") *
|
||||||
|
10;
|
||||||
if (chipVersion == 10) {
|
if (chipVersion == 10) {
|
||||||
REQUIRE_THROWS(proxy.Call("currentsource", {"1"}, -1, PUT));
|
REQUIRE_THROWS(proxy.Call("currentsource", {"1"}, -1, PUT));
|
||||||
REQUIRE_THROWS(
|
REQUIRE_THROWS(
|
||||||
|
|||||||
Reference in New Issue
Block a user