public void Example2_4() { var inputStr = new[] { ".#..##.###...#######", "##.############..##.", ".#.######.########.#", ".###.#######.####.#.", "#####.##.#.##.###.##", "..#####..#.#########", "####################", "#.####....###.#.#.##", "##.#################", "#####.##.###..####..", "..######..##.#######", "####.##.####...##..#", ".#####..#.######.###", "##...#.##########...", "#.##########.#######", ".####.#.###.###.#.##", "....##.##.###..#####", ".#.#.###########.###", "#.#.#.#####.####.###", "###.##.####.##.#..##" }; var input = _input.Parse(inputStr); var solution = _solver.Star2(input); Console.WriteLine(solution); Assert.AreEqual(802, solution); }
public void Star2() { _input = FileHelpers.Read(_filePath); _parsedInput = _parser.Parse(_input); var solution = _solver.Star2(_parsedInput); Console.WriteLine(solution); Assert.AreEqual(31581162962944, solution); }