public void ThrowHitBoundaryExceptionWhenRoverPositionIsOutsideGrid2()
        {
            var grid             = (5, 5);
            var startingPosition = new RoverPosition(1, 2, "N");
            var marsRoverRobot   = new MarsRoverRobot(grid);

            var instructions = "LMM";

            Assert.Throws <IndexOutOfRangeException>(() => marsRoverRobot.Move(startingPosition, instructions));
        }
        public void BeInTheCorrectPositionGivenTheStartingPosition(string instructions, string expectedPosition)
        {
            var grid             = (5, 5);
            var startingPosition = new RoverPosition(1, 2, "N");

            var marsRoverRobot = new MarsRoverRobot(grid);

            var actual = marsRoverRobot.Move(startingPosition, instructions);

            Assert.That(actual, Is.EqualTo(expectedPosition));
        }