mirror of https://github.com/FOME-Tech/fome-fw.git
parent
d9102b3c3c
commit
4bb1ff9430
|
@ -75,14 +75,14 @@ public class AutoTest extends BaseTest {
|
||||||
sendCommand("set " + CMD_ENGINESNIFFERRPMTHRESHOLD + " 100");
|
sendCommand("set " + CMD_ENGINESNIFFERRPMTHRESHOLD + " 100");
|
||||||
changeRpm(900);
|
changeRpm(900);
|
||||||
// first let's get to expected RPM
|
// first let's get to expected RPM
|
||||||
assertRpmDoesNotJump(20000, 15, 30, FAIL, commandQueue);
|
assertRpmDoesNotJump(10000, 15, 30, FAIL, commandQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void testV12() {
|
private void testV12() {
|
||||||
setEngineType(ET_BMW_M73_F);
|
setEngineType(ET_BMW_M73_F);
|
||||||
changeRpm(700);
|
changeRpm(700);
|
||||||
// first let's get to expected RPM
|
// first let's get to expected RPM
|
||||||
assertRpmDoesNotJump(15000, 15, 30, FAIL, commandQueue);
|
assertRpmDoesNotJump(10000, 15, 30, FAIL, commandQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void assertRpmDoesNotJump(int rpm, int settleTime, int testDuration, Function<String, Object> callback, CommandQueue commandQueue) {
|
public static void assertRpmDoesNotJump(int rpm, int settleTime, int testDuration, Function<String, Object> callback, CommandQueue commandQueue) {
|
||||||
|
|
Loading…
Reference in New Issue