#348 refactoring
This commit is contained in:
parent
e25a94c78b
commit
8c80861846
|
@ -90,7 +90,8 @@ void testFuelMap(void) {
|
||||||
assertEquals(NAN, getIntakeAirTemperature(PASS_ENGINE_PARAMETER_F));
|
assertEquals(NAN, getIntakeAirTemperature(PASS_ENGINE_PARAMETER_F));
|
||||||
float iatCorrection = getIatCorrection(-KELV PASS_ENGINE_PARAMETER);
|
float iatCorrection = getIatCorrection(-KELV PASS_ENGINE_PARAMETER);
|
||||||
assertEqualsM("IAT", 2, iatCorrection);
|
assertEqualsM("IAT", 2, iatCorrection);
|
||||||
float cltCorrection = getCltFuelCorrection(getCoolantTemperature(PASS_ENGINE_PARAMETER_F) PASS_ENGINE_PARAMETER);
|
engine->engineState.clt = getCoolantTemperature(PASS_ENGINE_PARAMETER_F);
|
||||||
|
float cltCorrection = getCltFuelCorrection(engine->engineState.clt PASS_ENGINE_PARAMETER);
|
||||||
assertEqualsM("CLT", 1, cltCorrection);
|
assertEqualsM("CLT", 1, cltCorrection);
|
||||||
float injectorLag = getInjectorLag(getVBatt(PASS_ENGINE_PARAMETER_F) PASS_ENGINE_PARAMETER);
|
float injectorLag = getInjectorLag(getVBatt(PASS_ENGINE_PARAMETER_F) PASS_ENGINE_PARAMETER);
|
||||||
assertEqualsM("injectorLag", 0, injectorLag);
|
assertEqualsM("injectorLag", 0, injectorLag);
|
||||||
|
|
Loading…
Reference in New Issue