public void TestPart2() { IEnumerable <string> lines = File.ReadLines(PersonalInput); var day = new DayOfDec09(); var res = day.Part2(lines); Assert.AreEqual(238243506, res); }
public void TestPart1() { IEnumerable <string> lines = File.ReadLines(PersonalInput); var day = new DayOfDec09(); var res = day.Part1(lines); Assert.AreEqual(1492208709, res); }
public void TestPart2_ExampleInput() { IEnumerable <string> lines = File.ReadLines(ExampleInput); var day = new DayOfDec09(); day.PreambleLength = 5; var res = day.Part2(lines); Assert.AreEqual(62, res); }