Esempio n. 1
0
        public void TestTurnLeft90DegreesMethod()
        {
            Plateau plateau = new Plateau(5, 5);
            Rover rover = new Rover(2, 2, "S", plateau);

            rover.turn90DegreesToLeft();

            String expectedState = "W";

            NUnit.Framework.Assert.That(rover.Direction, NUnit.Framework.Is.EqualTo(expectedState));
        }