Beispiel #1
0
        public void Get_The_Fewer_Number_Of_Step(string path, int stepExpected)
        {
            var hexes = advent.GetHexes(path);
            var step  = advent.GetNumberStepToEscapeTheMaze(hexes);

            Check.That(step).Equals(stepExpected);
        }
Beispiel #2
0
        public void Escape_The_Maze_In_X_Step(string maze, int stepToExitExpected)
        {
            var mazeDetail = maze.Split(' ').Select(x => int.Parse(x)).ToArray();
            var numberStep = advent.GetNumberStepToEscapeTheMaze(mazeDetail);

            Check.That(numberStep).Equals(stepToExitExpected);
        }