expanding test coverage

This commit is contained in:
rusefi 2017-02-23 08:12:03 -05:00
parent 6e7ca8ed7a
commit ed83278ab5
1 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,7 @@ public class AutoTest {
static void mainTestBody() {
sendCommand("fl 1"); // just in case it was disabled
testCustomEngine();
testMazdaMiata2003();
test2003DodgeNeon();
testFordAspire();
@ -41,6 +42,11 @@ public class AutoTest {
testFordFiesta();
}
private static void testCustomEngine() {
setEngineType(0);
sendCommand("set_toothed_wheel 4 0");
}
private static void testMazdaMiata2003() {
setEngineType(47);
}
@ -438,7 +444,7 @@ public class AutoTest {
boolean failed = false;
try {
IoUtil.launchSimulator(true);
IoUtil.launchSimulator(false);
mainTestBody();
} catch (Throwable e) {
e.printStackTrace();