public void TestPart1() { 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.Part1(lines); Assert.Equal(5, result); }
internal static void Part1() { var input = Input.Lines(8); Console.WriteLine(Day08Solver.Part1(input)); }