Esempio n. 1
0
        public void Day12_Test3_OK()
        {
            var lines = Utils.ReadLinesFromFile("Day12test3.txt");

            Assert.Equal(18, lines.Length);
            var sut = new CavePathFinder(lines);
        }
Esempio n. 2
0
        public void Day12_Puzzle1_OK()
        {
            var lines = Utils.ReadLinesFromFile("Day12.txt");

            Assert.Equal(23, lines.Length);
            var sut = new CavePathFinder(lines);
        }
Esempio n. 3
0
        public void Day12_Test1_OK()
        {
            var lines = Utils.ReadLinesFromFile("Day12Test1.txt");

            Assert.Equal(7, lines.Length);
            var sut = new CavePathFinder(lines);

            sut.FindAllPaths();
            Assert.Equal(10, sut.Paths.Count);
        }