mirror of https://github.com/rusefi/rusefi-1.git
MRE QC build broken #4059
This commit is contained in:
parent
caf7d57b3c
commit
19007ade64
|
@ -264,11 +264,12 @@ void Engine::periodicSlowCallback() {
|
||||||
isHappyTest = true;
|
isHappyTest = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assertCloseTo("clt", Sensor::get(SensorType::Clt).Value, 49.3, 0.75, 1.25);
|
float l = 1 - 0.2;
|
||||||
assertCloseTo("iat", Sensor::get(SensorType::Iat).Value, 73.2, 0.75, 1.25);
|
float h = 1 + 0.2;
|
||||||
assertCloseTo("aut1", Sensor::get(SensorType::AuxTemp1).Value, 13.8, 0.75, 1.25);
|
assertCloseTo("clt", Sensor::get(SensorType::Clt).Value, 49.3, l, h);
|
||||||
// huh? why such a wide gap? smaller resistor delta causes large temperature delta on the left side of the curve?
|
assertCloseTo("iat", Sensor::get(SensorType::Iat).Value, 73.2, l, h);
|
||||||
assertCloseTo("aut2", Sensor::get(SensorType::AuxTemp2).Value, 6.2, 0.75, 2);
|
assertCloseTo("aut1", Sensor::get(SensorType::AuxTemp1).Value, 13.8, l, h);
|
||||||
|
assertCloseTo("aut2", Sensor::get(SensorType::AuxTemp2).Value, 9.274291, l, h);
|
||||||
#endif // ANALOG_HW_CHECK_MODE
|
#endif // ANALOG_HW_CHECK_MODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue