Esempio n. 1
0
        public void Move_Rover_Outside_Plateau_Boundaries()
        {
            //Arrange  (Setup the rover)
            SetupRover();

            //Act (Process command)
            _rover.Process("MMRRMMRRRMRRMMMMRRRM");

            //Assert
            Console.WriteLine(_rover.PrintRoverPosition());
            Assert.IsTrue(_rover.PrintRoverPosition().Contains("Rover outside the plateau"));
        }