public void Day18_Part2_Solution() { var d = new Day18(); var input = FileHelper.ReadTestFile(18); Assert.IsNotNull(input); var expected = 1006; var actual = d.SolutionPart2(100, input); Assert.AreEqual(expected, actual); }
public void Day18_Part2_Examples() { var d = new Day18(); var initialState = new string[] { "##.#.#", "...##.", "#....#", "..#...", "#.#..#", "####.#" }; var expected = 17; var actual = d.SolutionPart2(5, initialState); Assert.AreEqual(expected, actual); }