diff --git a/java_console/autotest/src/com/rusefi/AutoTest.java b/java_console/autotest/src/com/rusefi/AutoTest.java index 49d33239c8..5e648c8d46 100644 --- a/java_console/autotest/src/com/rusefi/AutoTest.java +++ b/java_console/autotest/src/com/rusefi/AutoTest.java @@ -22,6 +22,8 @@ public class AutoTest { private static void mainTestBody() { testFordAspire(); + testMazdaProtege(); + testDodgeNeon(); sendCommand("set_engine_type 7"); @@ -30,6 +32,19 @@ public class AutoTest { testFordFiesta(); } + private static void testMazdaProtege() { + sendCommand("set_engine_type 14"); + WaveChart chart; + IoUtil.changeRpm(200); + String msg = "ProtegeLX"; + chart = nextChart(); + double x = 100; + assertWave(msg, chart, WaveChart.SPARK_1, 0.194433, x, x + 180, x + 360, x + 540); + + IoUtil.changeRpm(2000); + assertWave(msg, chart, WaveChart.SPARK_1, 0.194433, x, x + 180, x + 360, x + 540); + } + private static void testDodgeNeon() { sendCommand("set_engine_type 2"); WaveChart chart;