This commit is contained in:
parent
1e391bae8d
commit
793c4b4e61
|
@ -18,6 +18,11 @@ void testPlainCrankingWithoutAdvancedFeatures() {
|
|||
setupSimpleTestEngineWithMafAndTT_ONE_trigger(ð);
|
||||
assertEqualsM("RPM=0", 0, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
eth.fireTriggerEvents2(1, MS2US(200));
|
||||
// still no RPM since need to cycles measure cycle duration
|
||||
assertEqualsM("RPM#1", 0, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
eth.fireTriggerEvents2(1, MS2US(200));
|
||||
assertEqualsM("RPM#2", 300, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue