expanding test coverage
This commit is contained in:
parent
6e7ca8ed7a
commit
ed83278ab5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue