auto-sync
This commit is contained in:
parent
d814d5bf94
commit
ec3a43fc32
|
@ -1 +1 @@
|
||||||
st-link_cli -c SWD ur -P build\rusefi.hex -Rst -Run
|
st-link_cli -c SWD ur -ME
|
||||||
|
|
|
@ -18,6 +18,7 @@ import static com.rusefi.TestingUtils.*;
|
||||||
*/
|
*/
|
||||||
public class AutoTest {
|
public class AutoTest {
|
||||||
private static void mainTestBody() {
|
private static void mainTestBody() {
|
||||||
|
testMazda626();
|
||||||
test2003DodgeNeon();
|
test2003DodgeNeon();
|
||||||
testFordAspire();
|
testFordAspire();
|
||||||
testMazdaProtege();
|
testMazdaProtege();
|
||||||
|
@ -26,6 +27,20 @@ public class AutoTest {
|
||||||
testFordFiesta();
|
testFordFiesta();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void testMazda626() {
|
||||||
|
sendCommand("set_engine_type 28");
|
||||||
|
WaveChart chart;
|
||||||
|
// time to change engine type
|
||||||
|
nextChart();
|
||||||
|
String msg = "Mazda 626";
|
||||||
|
IoUtil.changeRpm(200);
|
||||||
|
chart = nextChart();
|
||||||
|
|
||||||
|
double x = 275;
|
||||||
|
assertWave("aspire default cranking ", chart, WaveChart.SPARK_1, 0.1944, x, x + 180, x + 360, x + 540);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private static void test2003DodgeNeon() {
|
private static void test2003DodgeNeon() {
|
||||||
sendCommand("set_engine_type 23");
|
sendCommand("set_engine_type 23");
|
||||||
WaveChart chart;
|
WaveChart chart;
|
||||||
|
|
Loading…
Reference in New Issue