reducing autotest mess

This commit is contained in:
rusefi 2020-08-29 15:05:54 -04:00
parent a51f9ad905
commit 628c640f61
2 changed files with 4 additions and 23 deletions

View File

@ -383,8 +383,12 @@ end_struct
#define ET_FORD_FIESTA 4
#define ET_FORD_INLINE_6 7
#define ET_ROVER_V8 10
#define ET_FORD_ESCORT_GT 14
#define ET_BMW_E34 25
#define ET_SACHS 29
#define ET_VW_ABA 32
#define ET_CAMARO 35
#define ET_BMW_M73_F 40
#define ET_DODGE_NEON_2003_CRANK 46
#define ET_MRE_MIATA_NA6_VAF 12

View File

@ -57,10 +57,8 @@ public class AutoTest extends BaseTest {
testBmwE34();
testSachs();
testRoverV8();
testMitsu();
testCamaro();
testCitroenBerlingo();
testMazda626();
testFord6();
testFordFiesta();
}
@ -151,16 +149,6 @@ public class AutoTest extends BaseTest {
assertWave(msg, chart, EngineChart.MAP_AVERAGING, 0.139, x, x + 120, x + 240, x + 360, x + 480, x + 600);
}
private void testMitsu() {
setEngineType(16);
sendCommand("disable cylinder_cleanup");
// String msg = "Mitsubishi";
changeRpm(200);
changeRpm(1200);
// todo: add more content
}
private void testCitroenBerlingo() {
setEngineType(ET_CITROEN_TU3JP);
// String msg = "Citroen";
@ -168,17 +156,6 @@ public class AutoTest extends BaseTest {
// todo: add more content
}
private void testMazda626() {
setEngineType(28);
String msg = "mazda 626 default cranking";
changeRpm(200);
EngineChart chart;
chart = nextChart();
double x = 102;
assertWave(msg, chart, EngineChart.SPARK_1, 0.1944, x, x + 180, x + 360, x + 540);
}
private EngineChart nextChart() {
return TestingUtils.nextChart(commandQueue);
}