Ejemplo n.º 1
0
        public void Rover_GIVENInputs_WHENTurnLeft_THENItBecomesSuccessfully()
        {
            _plateau.SetSize(new Coordinate(5, 5));
            _location.SetLocation(new Coordinate(2, 3));
            _rover.TurnDirection(DirectionType.South);
            _rover.GiveCommand("L");

            _rover.GetCurrentPosition().ShouldBe("2 3 East");
        }