public void TestPart2() { var input = @"nop +0 acc +1 jmp +4 acc +3 jmp -3 acc -99 acc +1 jmp -4 acc +6"; var lines = input.Split('\n'); var result = Day08Solver.Part2(lines); Assert.Equal(8, result); }
internal static void Part2() { var input = Input.Lines(8); Console.WriteLine(Day08Solver.Part2(input)); }