public void PuzzleExample_FindFirstInvalid() { const int preambleLength = 5; var system = new XmasSystem(PuzzleExample); system.FindFirstInvalid(preambleLength).Should().Be(127); }
public void Puzzle1_FindFirstInvalid() { const int preambleLength = 25; var system = new XmasSystem(Input.Day09); system.FindFirstInvalid(preambleLength).Should().Be(138879426L); }