unit test

This commit is contained in:
rusefi 2017-11-06 22:33:06 -05:00
parent f839afeb54
commit 27fb199e66
3 changed files with 11 additions and 0 deletions

View File

@ -127,6 +127,7 @@ extern bool printTriggerDebug;
int main(void) { int main(void) {
// printTriggerDebug = true; // printTriggerDebug = true;
testDifferentInjectionModes();
testPidAutoZigZag(); testPidAutoZigZag();
testMissedSpark299(); testMissedSpark299();
testSparkReverseOrderBug319(); testSparkReverseOrderBug319();

View File

@ -1013,6 +1013,15 @@ void testFuelSchedulerBug299smallAndMedium(void) {
testMafValue = 0; testMafValue = 0;
} }
void testDifferentInjectionModes(void) {
printf("*************************************************** testDifferentInjectionModes\r\n");
EngineTestHelper eth(TEST_ENGINE);
EXPAND_EngineTestHelper
setTestBug299(&eth);
}
void testFuelSchedulerBug299smallAndLarge(void) { void testFuelSchedulerBug299smallAndLarge(void) {
printf("*************************************************** testFuelSchedulerBug299 small to large\r\n"); printf("*************************************************** testFuelSchedulerBug299 small to large\r\n");

View File

@ -11,6 +11,7 @@
void testTriggerDecoder(void); void testTriggerDecoder(void);
void testFuelSchedulerBug299smallAndMedium(void); void testFuelSchedulerBug299smallAndMedium(void);
void testFuelSchedulerBug299smallAndLarge(void); void testFuelSchedulerBug299smallAndLarge(void);
void testDifferentInjectionModes(void);
void testSparkReverseOrderBug319(void); void testSparkReverseOrderBug319(void);
void testMissedSpark299(void); void testMissedSpark299(void);
void testRpmCalculator(void); void testRpmCalculator(void);