fix (#1620)
This commit is contained in:
parent
1c33247b49
commit
d6464fffe7
|
@ -40,7 +40,7 @@ TEST_F(SensorConverted, TestValid) {
|
|||
EXPECT_FALSE(s.Valid);
|
||||
}
|
||||
|
||||
dut.postRawValue(25, 0);
|
||||
dut.postRawValue(25, getTimeNowNt());
|
||||
|
||||
// Should be valid, with a value of 25*2 = 50
|
||||
{
|
||||
|
|
|
@ -9,13 +9,11 @@ struct MockSensor final : public StoredValueSensor
|
|||
{
|
||||
}
|
||||
|
||||
void set(float value)
|
||||
{
|
||||
setValidValue(value, 0);
|
||||
void set(float value) {
|
||||
setValidValue(value, getTimeNowNt());
|
||||
}
|
||||
|
||||
void invalidate()
|
||||
{
|
||||
void invalidate() {
|
||||
StoredValueSensor::invalidate();
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ TESTS_SRC_CPP = \
|
|||
tests/ignition_injection/injection_mode_transition.cpp \
|
||||
tests/ignition_injection/test_startOfCrankingPrimingPulse.cpp \
|
||||
tests/ignition_injection/test_miata_na6_real_cranking.cpp \
|
||||
tests/ignition_injection/test_multispark.cpp \
|
||||
tests/ignition_injection/test_ignition_scheduling.cpp \
|
||||
tests/ignition_injection/test_fuelCut.cpp \
|
||||
tests/test_util.cpp \
|
||||
|
@ -37,7 +38,6 @@ TESTS_SRC_CPP = \
|
|||
tests/test_accel_enrichment.cpp \
|
||||
tests/test_tacho.cpp \
|
||||
tests/test_gpiochip.cpp \
|
||||
tests/ignition_injection/test_multispark.cpp \
|
||||
tests/test_deadband.cpp \
|
||||
tests/sensor/basic_sensor.cpp \
|
||||
tests/sensor/func_sensor.cpp \
|
||||
|
|
Loading…
Reference in New Issue