Example #1
0
        public void Test4()
        {
            var position = new Position(0, 1, 'S');

            _rover = new Rover(position);
            _rover.Move("MMLMT");
            var result = _rover.GetCurrentPosition();

            Assert.Equal(2, result.X);
            Assert.Equal(1, result.Y);
            Assert.Equal(Application.Constants.DirectionType.N, result.FaceDirectionType);
        }