mirror of https://github.com/rusefi/rusefi-1.git
progress
This commit is contained in:
parent
13a2126240
commit
7a348a23c3
|
@ -204,12 +204,12 @@ void testFordAspire(void) {
|
|||
engineConfiguration->crankingChargeAngle = 65;
|
||||
engineConfiguration->crankingTimingAngle = 31;
|
||||
|
||||
engine->rpmCalculator.rpmValue = 200;
|
||||
engine->rpmCalculator.setRpmValue(200 PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
assertEqualsM("cranking dwell", 54.166670, getSparkDwell(200 PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
engine->rpmCalculator.rpmValue = 2000;
|
||||
engine->rpmCalculator.setRpmValue(2000 PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
assertEqualsM("running dwell", 4, getSparkDwell(2000 PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
|
||||
engine->rpmCalculator.rpmValue = 6000;
|
||||
engine->rpmCalculator.setRpmValue(6000 PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
assertEqualsM("higher rpm dwell", 3.25, getSparkDwell(6000 PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue