From f3d27b4c0c1f4df0e262c2054dea851de9a28db3 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Mon, 2 Feb 2015 15:04:16 -0600 Subject: [PATCH] auto-sync --- .../autotest/src/com/rusefi/AutoTest.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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;