Esempio n. 1
0
        public void TestMethod_Move_WhenFaceToEast()
        {
            //Arrange
            var firstOrietation = PositionsMap.OrientationToNumber["E"];

            Rover = new Rover(1, 2, firstOrietation);

            //Act
            Rover.ExecuteCommands("R1", "M");

            //Asser
            Assert.AreEqual(Rover.GetX(), 2);
        }