fix tests

This commit is contained in:
maliakal_d 2021-11-25 10:31:19 +01:00
parent 7f7a691b25
commit a455a95aab

View File

@ -542,8 +542,8 @@ TEST_CASE("fliprows", "[.cmd]") {
auto det_type = det.getDetectorType().squash(); auto det_type = det.getDetectorType().squash();
bool jungfrauhw2 = false; bool jungfrauhw2 = false;
if (det_type == defs::JUNGFRAU && if (det_type == defs::JUNGFRAU &&
!(det.getSerialNumber().tsquash("inconsistent serial number to test") & !((det.getSerialNumber().tsquash("inconsistent serial number to test") &
0x20000)) { 0x20000) == 0x2000)) {
jungfrauhw2 = true; jungfrauhw2 = true;
} }
if (det_type == defs::EIGER || jungfrauhw2) { if (det_type == defs::EIGER || jungfrauhw2) {