public void Day19_Part1_Examples_2() { var d = new Day19(); var input = new string[] { "H => HO", "H => OH", "O => HH", "HOHOHO" }; var result = d.SolutionPart1(input); Assert.AreEqual(7, result); }
public void Day19_Part1_Solution() { var d = new Day19(); var input = FileHelper.ReadTestFile(19); Assert.IsNotNull(input); var expected = 518; var actual = d.SolutionPart1(input); Assert.AreEqual(expected, actual); }