mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-29 07:31:18 +01:00
fix tests
This commit is contained in:
@@ -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") &
|
||||||
0x30000)) {
|
0x30000) == 0x30000)) {
|
||||||
jungfrauhw2 = true;
|
jungfrauhw2 = true;
|
||||||
}
|
}
|
||||||
if (det_type == defs::EIGER || jungfrauhw2) {
|
if (det_type == defs::EIGER || jungfrauhw2) {
|
||||||
@@ -1559,9 +1559,9 @@ TEST_CASE("readnrows", "[.cmd]") {
|
|||||||
if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) {
|
if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) {
|
||||||
bool jungfrauhw2 = false;
|
bool jungfrauhw2 = false;
|
||||||
if (det_type == defs::JUNGFRAU &&
|
if (det_type == defs::JUNGFRAU &&
|
||||||
(det.getSerialNumber().tsquash(
|
((det.getSerialNumber().tsquash(
|
||||||
"inconsistent serial number to test") &
|
"inconsistent serial number to test") &
|
||||||
0x30000)) {
|
0x30000) == 0x30000)) {
|
||||||
jungfrauhw2 = true;
|
jungfrauhw2 = true;
|
||||||
}
|
}
|
||||||
if (!jungfrauhw2) {
|
if (!jungfrauhw2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user