public static void Part1(string[] input) { Helper.PrintChallengePart("Part 1"); TicketTranslator ticketJobby = new TicketTranslator(input); int result = ticketJobby.ErrorRate(); Console.WriteLine("Invalid Tickets: " + result); }
public void Day16Part1() { // Arrange string[] input = Helper.ParseInput(@"Inputs\\Day16_example.txt"); TicketTranslator ticketJobby = new TicketTranslator(input); //Act int result = ticketJobby.ErrorRate(); //Assert Assert.AreEqual(71, result); }