This commit is contained in:
rusefi 2018-12-08 11:08:41 -05:00
parent d0e650aced
commit 58843b5f6c
2 changed files with 21 additions and 16 deletions

View File

@ -63,33 +63,47 @@ int main(void) {
testMisc(); testMisc();
testDifferentInjectionModes(); testDifferentInjectionModes();
/**
* PID
*/
testPidAuto(); testPidAuto();
testPidController();
/**
* Larger-scale engine control
*/
testMissedSpark299(); testMissedSpark299();
testSparkReverseOrderBug319(); testSparkReverseOrderBug319();
testFuelSchedulerBug299smallAndLarge(); testFuelSchedulerBug299smallAndLarge();
testFuelSchedulerBug299smallAndMedium(); testFuelSchedulerBug299smallAndMedium();
testLogicExpressions(); // fsio testLogicExpressions(); // fsio
testOverflow64Counter();
testInterpolate3d();
testFindIndex();
testPlainCrankingWithoutAdvancedFeatures(); testPlainCrankingWithoutAdvancedFeatures();
testStartOfCrankingPrimingPulse(); testStartOfCrankingPrimingPulse();
testFasterEngineSpinningUp(); testFasterEngineSpinningUp();
testInterpolate2d();
testGpsParser(); testGpsParser();
testFuelMap(); testFuelMap();
testFuelCut(); testFuelCut();
testEngineMath(); testEngineMath();
testIgnitionPlanning(); testIgnitionPlanning();
testSensors(); testSensors();
/**
* Data structures and general methods
*/
testCyclicBuffer(); testCyclicBuffer();
testCrc(); testCrc();
testOverflow64Counter();
testFindIndex();
testInterpolate3d();
testInterpolate2d();
testSetTableValue();
testHistogram();
testFLStack();
testSignalExecutor(); testSignalExecutor();
testHistogram();
/**
* Business logic tests
*/
testMalfunctionCentral(); testMalfunctionCentral();
testConsoleLogic(); testConsoleLogic();
@ -97,24 +111,20 @@ int main(void) {
testAngleResolver(); testAngleResolver();
testPinHelper(); testPinHelper();
testSetTableValue();
testAccelEnrichment(); testAccelEnrichment();
testSpeedDensity(); testSpeedDensity();
testFLStack();
testMenuTree(); testMenuTree();
testMafLookup(); testMafLookup();
testIgnitionMapGenerator(); testIgnitionMapGenerator();
testMafFuelMath(); testMafFuelMath();
testPidController();
testTriggerDecoder(); testTriggerDecoder();
// resizeMap(); // resizeMap();
printf("Success 20181120\r\n"); printf("Success 20181206\r\n");
printAllTriggers(); printAllTriggers();
// printConvertedTable(); // printConvertedTable();
return EXIT_SUCCESS; return EXIT_SUCCESS;

View File

@ -66,10 +66,6 @@ void testFindIndex(void) {
} }
} }
//static float getValue2(float key, float maf) {
//
//}
void testInterpolate2d(void) { void testInterpolate2d(void) {
printf("*************************************************** testInterpolate2d\r\n"); printf("*************************************************** testInterpolate2d\r\n");
@ -100,7 +96,6 @@ void testSetTableValue(void) {
printf("*************************************************** testSetTableValue\r\n"); printf("*************************************************** testSetTableValue\r\n");
persistent_config_s config; persistent_config_s config;
// memset()
for (int i = 0; i < CLT_CURVE_SIZE; i++) { for (int i = 0; i < CLT_CURVE_SIZE; i++) {
config.cltFuelCorrBins[i] = -40 + i * 10; config.cltFuelCorrBins[i] = -40 + i * 10;