public static void Part2(string[] input) { Helper.PrintChallengePart("Part 2"); VoltageAdaptor volts = new VoltageAdaptor(input); ulong result = volts.CalculateCombinations(); Console.WriteLine("Combos: " + result); }
public void Day10Part2() { // Arrange string[] input = Helper.ParseInput(@"Inputs\\Day10_example.txt"); //Act VoltageAdaptor volts = new VoltageAdaptor(input); ulong result = volts.CalculateCombinations(); //Assert Assert.AreEqual((ulong)8, result); }