Esempio n. 1
0
        public void WhenStarting12N_AndMoveCommandLMLMLMLMM_AssertSuccesfulMove()
        {
            _rover.SetPosition(1, 2, RoverDirection.North);

            var moves = "LMLMLMLMM";

            _rover.ProcessCommands(moves);

            var expectedPosition = "1 3 N";

            Assert.AreEqual(expectedPosition, _rover.CurrentPosition());
        }