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 PartOneSmallTest() { var subject = new JoltAdapter(GetSmallExampleInput()); Assert.Equal(35, subject.GetChainInput()); }
public void PartOneTest() { var subject = new JoltAdapter(GetExampleInput()); Assert.Equal(220, subject.GetChainInput()); }