Beispiel #1
0
        public void TestMarsRover1()
        {
            //Arrange
            IPlanetSurface mars   = new MarsSurface("5 5");
            IVehicle       rover1 = new MarsRover("1 2 N", "LMLMLMLMM", mars);

            //Act
            string actResult = rover1.PrintFinalPositionAndHeading();

            //Assert
            Assert.Equal("1 3 N", actResult);
        }