mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
fix test
This commit is contained in:
parent
a9d61526ef
commit
3570795469
@ -541,7 +541,9 @@ TEST_CASE("fliprows", "[.cmd]") {
|
|||||||
CmdProxy proxy(&det);
|
CmdProxy proxy(&det);
|
||||||
auto det_type = det.getDetectorType().squash();
|
auto det_type = det.getDetectorType().squash();
|
||||||
bool jungfrauhw2 = false;
|
bool jungfrauhw2 = false;
|
||||||
if (det_type == defs::JUNGFRAU && det.getSerialNumber() & 0x20000) {
|
if (det_type == defs::JUNGFRAU &&
|
||||||
|
det.getSerialNumber().tsquash("inconsistent serial number to test") &
|
||||||
|
0x20000) {
|
||||||
jungfrauhw2 = true;
|
jungfrauhw2 = true;
|
||||||
}
|
}
|
||||||
if (det_type == defs::EIGER || jungfrauhw2) {
|
if (det_type == defs::EIGER || jungfrauhw2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user