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