better field name
This commit is contained in:
parent
255f85e707
commit
d47afe0524
|
@ -102,8 +102,8 @@ void testMafLookup(void) {
|
|||
assertEqualsM("@255", 738, engine->mafDecodingLookup[255]);
|
||||
}
|
||||
|
||||
float unitTestValue = 0;
|
||||
float mockMapValue = 0;
|
||||
|
||||
float getMap(void) {
|
||||
return unitTestValue;
|
||||
return mockMapValue;
|
||||
}
|
||||
|
|
|
@ -22,12 +22,12 @@ void testPlainCrankingWithoutAdvancedFeatures() {
|
|||
setupSimpleTestEngineWithMafAndTT_ONE_trigger(ð);
|
||||
assertEqualsM("RPM=0", 0, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
eth.fireTriggerEventsWithDuration(200);
|
||||
eth.fireTriggerEventsWithDuration(/* durationMs */ 200);
|
||||
// still no RPM since need to cycles measure cycle duration
|
||||
assertEqualsM("RPM#1", 0, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
|
||||
|
||||
eth.fireRise(200);
|
||||
eth.fireRise(/* delayMs */ 200);
|
||||
assertEqualsM("RPM#2", 300, engine->rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));
|
||||
// two simultaneous injections
|
||||
assertEqualsM("plain#2", 4, engine->executor.size());
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "trigger_universal.h"
|
||||
|
||||
extern int timeNowUs;
|
||||
extern float unitTestValue;
|
||||
extern float mockMapValue;
|
||||
extern float testMafValue;
|
||||
extern int unitTestWarningCounter;
|
||||
extern bool printTriggerDebug;
|
||||
|
@ -984,7 +984,7 @@ void testFuelSchedulerBug299smallAndMedium(void) {
|
|||
|
||||
eth.executeActions();
|
||||
|
||||
unitTestValue = 0;
|
||||
mockMapValue = 0;
|
||||
testMafValue = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
#include "trigger_universal.h"
|
||||
|
||||
extern int timeNowUs;
|
||||
extern float unitTestValue;
|
||||
extern float testMafValue;
|
||||
extern int unitTestWarningCounter;
|
||||
extern bool printTriggerDebug;
|
||||
extern float actualSynchGap;
|
||||
|
||||
|
|
Loading…
Reference in New Issue