public void AfterTurnLeftIsNotOrientedToNorth() { var ant = AntFactory.CreateAntOnDefaultPosition(); ant.TurnLeft(); Assert.False(ant.IsOrientedToNorth()); }
public void AfterTurnLeftIsOrientedToWest() { var ant = AntFactory.CreateAntOnDefaultPosition(); ant.TurnLeft(); Assert.True(ant.IsOrientedToWest()); }
public void DefaultPositionOfAntIsNorth() { var ant = AntFactory.CreateAntOnDefaultPosition(); Assert.True(ant.IsOrientedToNorth()); }
public void NewAntIsOnDefaultPosition() { var ant = AntFactory.CreateAntOnDefaultPosition(); Assert.Equal(_defaultPosition, ant.GetPosition()); }