mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-04 00:50:42 +02:00
fix to tests m3
This commit is contained in:
parent
bb01f90e1f
commit
4614e0873a
@ -565,6 +565,7 @@ TEST_CASE("pumpprobe", "[.cmd]") {
|
||||
// mask with counter 2 disabled and enabled(to test vth2)
|
||||
uint32_t fixedMask[2] = {0x4, 0x3};
|
||||
for (int i = 0; i != 2; ++i) {
|
||||
std::cout << "i:"<< i <<std::endl;
|
||||
det.setCounterMask(fixedMask[i]);
|
||||
{
|
||||
// pump probe
|
||||
@ -589,7 +590,7 @@ TEST_CASE("pumpprobe", "[.cmd]") {
|
||||
proxy.Call("pumpprobe", {"0"}, -1, PUT, oss);
|
||||
REQUIRE(oss.str() == "pumpprobe 0\n");
|
||||
REQUIRE(det.getCounterMask().tsquash(
|
||||
"inconsistent counter mask") == 7);
|
||||
"inconsistent counter mask") == fixedMask[i]);
|
||||
REQUIRE(
|
||||
det.getDAC(defs::VTH1, 0, {0})
|
||||
.tsquash("inconsistent vth1 dac value") ==
|
||||
|
@ -1222,7 +1222,7 @@ TEST_CASE("clkphase", "[.cmd]") {
|
||||
}
|
||||
std::string s_deg_val = "15";
|
||||
if (det_type == defs::MYTHEN3) {
|
||||
s_deg_val = "14";
|
||||
s_deg_val = "15";
|
||||
} else if (det_type == defs::GOTTHARD2) {
|
||||
s_deg_val = "23";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user