@Override
public void onTurnEnded(TurnEndedEvent event) {
super.onTurnEnded(event);
lastTurn = event.getTurnSnapshot().getTurn();
IRobotSnapshot crazy = event.getTurnSnapshot().getRobots()[0];
IRobotSnapshot target = event.getTurnSnapshot().getRobots()[1];
if (lastTurn == 1) {
Assert.assertNear(567.2831835, crazy.getX());
Assert.assertNear(162.4952421, crazy.getY());
Assert.assertNear(436.7181397, target.getX());
Assert.assertNear(351.5039067, target.getY());
}
if (lastTurn == 1700) {
Assert.assertNear(373.9958377, crazy.getX());
Assert.assertNear(196.1380677, crazy.getY());
Assert.assertNear(340.3212984, target.getX());
Assert.assertNear(456.5502002, target.getY());
}
}