mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-29 09:07:46 +01:00
fix test
This commit is contained in:
1 parent
a455a95aab
commit
6668fef61a
1 file changed
+5
-5
@@ -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) == 0x2000)) {
|
||||
(det.getSerialNumber().tsquash("inconsistent serial number to test") &
|
||||
0x30000)) {
|
||||
jungfrauhw2 = true;
|
||||
}
|
||||
if (det_type == defs::EIGER || jungfrauhw2) {
|
||||
@@ -1559,9 +1559,9 @@ TEST_CASE("readnrows", "[.cmd]") {
|
||||
if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) {
|
||||
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") &
|
||||
0x30000)) {
|
||||
jungfrauhw2 = true;
|
||||
}
|
||||
if (!jungfrauhw2) {
|
||||
|
||||
Reference in new issue
Block a user