Ejemplo n.º 1
0
        public void AssertThatStandardMovementsWithinTableAreOK()
        {
            var rawInstructions = new List <string> {
                "PLACE 0,0,NORTH", "MOVE", "RIGHT", "MOVE", "REPORT"
            };

            var parsedInstructions = instructionService.ParseRawInstructions(rawInstructions);

            var report = movementService.ExecuteRoute(parsedInstructions);

            Assert.Equal("1,1, EAST", report);
        }