public static void Part2(string[] input) { Helper.PrintChallengePart("Part 2"); BusScheduler bus = new BusScheduler(input); long result = bus.CalculateSynchronicity(); Console.WriteLine("Result: " + result); }
public void Day13Part2() { // Arrange string[] input = Helper.ParseInput(@"Inputs\\Day13_example.txt"); //Act BusScheduler bus = new BusScheduler(input); long result = bus.CalculateSynchronicity(); //Assert Assert.AreEqual((long)1068781, result); }