static void Main(string[] args) { var joltAdapter = new JoltAdapter(File.ReadAllLines("../input.txt")); //Part One Console.WriteLine(joltAdapter.GetChainInput()); //Part Two Console.WriteLine(joltAdapter.ArrangeAdapter()); }
public void PartTwoTest() { var subject = new JoltAdapter(GetExampleInput()); Assert.Equal(19208, subject.ArrangeAdapter()); }
public void PartTwoSmallTest() { var subject = new JoltAdapter(GetSmallExampleInput()); Assert.Equal(8, subject.ArrangeAdapter()); }