コード例 #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);
        }