@Test public void successWhenManual() { collector.setIsManual(true); assertEquals(ExecState.SUCCESS, worker.isFinished()); }
@Test public void failureWhenNotSafe() { collector.getSensors().SetScaledPositionTESTONLY(0); assertEquals(ExecState.FAILURE, worker.isFinished()); }
@Test public void successWhenAlreadySafe() { collector.getSensors().SetScaledPositionTESTONLY(1.0); assertEquals(ExecState.SUCCESS, worker.isFinished()); }