public Rover(int xCoordinate, int yCoordinate, Orientation orientation, Plateau plateau)
 {
     XCoordinate = xCoordinate;
     YCoordinate = yCoordinate;
     Orientation = orientation;
     Plateau = plateau;
 }
        public void Given_Rover_In_Valid_Position_2_When_Navigate_Then_Return_Coordinate_And_Orientation_Incorrect()
        {
            //arrange
            var plateau = new Plateau(5, 5);
            var rover = new Rover(0, 0, Orientation.North, plateau);

            //act
            var result = rover.Navigate("LMLMLMLMM").GetCurrentPosition();

            //assert
            Assert.AreEqual<string>("5 5 N", result);
        }
        public void Given_Rover_In_Valid_Position_2_When_Navigate_Then_Return_Coordinate_And_Orientation_Correct()
        {
            //arrange
            var plateau = new Plateau(5, 5);
            var rover = new Rover(3, 3, Orientation.East, plateau);

            //act
            var result = rover.Navigate("MMRMMRMRRM").GetCurrentPosition();

            //assert
            Assert.AreEqual<string>("5 1 E", result);
        }