TurtleSpy { public double maxDistance(String[] commands) { return 0; }  double maxDistance(String[] commands);  }
@Test public void testMaxDistance1() { String[] commands = (String[]) Arrays.asList("forward 100", "backward 100", "left 90").toArray(); Double distance = tester.maxDistance(commands); assertEquals(141.4213562373095, distance, PRECISION); }