예제 #1
0
        public void AddRoverHappyPath()
        {
            var dispatch       = "5 5\n1 1 N\nMRML";
            var expectedOutput = "2 2 N";

            var plateauMap = new PlateauMap();
            var dispatcher = new Dispatcher(plateauMap);

            var result = dispatcher.ReceiveInstructions(dispatch);

            Assert.Equal(expectedOutput, result);
        }
예제 #2
0
 public PlateauMapTests()
 {
     _plateauMap = new PlateauMap();
 }