auto-sync
This commit is contained in:
parent
99e4f5c688
commit
f3d27b4c0c
|
@ -22,6 +22,8 @@ public class AutoTest {
|
||||||
private static void mainTestBody() {
|
private static void mainTestBody() {
|
||||||
testFordAspire();
|
testFordAspire();
|
||||||
|
|
||||||
|
testMazdaProtege();
|
||||||
|
|
||||||
testDodgeNeon();
|
testDodgeNeon();
|
||||||
|
|
||||||
sendCommand("set_engine_type 7");
|
sendCommand("set_engine_type 7");
|
||||||
|
@ -30,6 +32,19 @@ public class AutoTest {
|
||||||
testFordFiesta();
|
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() {
|
private static void testDodgeNeon() {
|
||||||
sendCommand("set_engine_type 2");
|
sendCommand("set_engine_type 2");
|
||||||
WaveChart chart;
|
WaveChart chart;
|
||||||
|
|
Loading…
Reference in New Issue