Turning right should be almost the same as turning left:
public void whenTurnRightThenRight() { Location expected = location.copy(); expected.turnRight(); ship.turnRight(); assertEquals(ship.getLocation(), expected); }
Turning right should be almost the same as turning left:
public void whenTurnRightThenRight() { Location expected = location.copy(); expected.turnRight(); ship.turnRight(); assertEquals(ship.getLocation(), expected); }