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();
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) {