From a455a95aab9b46025ce145e3defc00f3e8840cdd Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 25 Nov 2021 10:31:19 +0100 Subject: [PATCH] fix tests --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index 2806f3b91..fc27c5dd2 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -542,8 +542,8 @@ TEST_CASE("fliprows", "[.cmd]") { auto det_type = det.getDetectorType().squash(); bool jungfrauhw2 = false; if (det_type == defs::JUNGFRAU && - !(det.getSerialNumber().tsquash("inconsistent serial number to test") & - 0x20000)) { + !((det.getSerialNumber().tsquash("inconsistent serial number to test") & + 0x20000) == 0x2000)) { jungfrauhw2 = true; } if (det_type == defs::EIGER || jungfrauhw2) {