예제 #1
0
        public void CheckPlateauBoundaryLimits_ShouldFail2()
        {
            var inputs = new List <string>
            {
                "0 0",
                "1 2 N",
                "LMLMLMLMM",
                "3 3 E",
                "MMRMMRMRRM"
            };

            MarsProgram.BeginProcessing(inputs);
        }
예제 #2
0
        public void ValidInputs()
        {
            var inputs = new List <string>
            {
                "5 5",
                "1 2 N",
                "LMLMLMLMM",
                "3 3 E",
                "MMRMMRMRRM"
            };

            MarsProgram.BeginProcessing(inputs);
        }
예제 #3
0
        public void RoverMovesOutOfPlateauCoordinates()
        {
            var inputs = new List <string>
            {
                "5 5",
                "1 2 N",
                "LMLMLMLMM",
                "5 5 E",
                "MMRMMRMRRM"
            };

            MarsProgram.BeginProcessing(inputs);
        }