public override Day Run() { dayOfMonth = 10; stopwatch.Start(); Jolts jolts = new Jolts("input/day10.txt"); answer_part1 = jolts.Differences().ToString(); answer_part2 = jolts.Arrangements().ToString(); return(this); }
public void TestDifferences() { Jolts jolts = new Jolts("input/day10.txt"); Assert.Equal(35, jolts.Differences()); }
public void TestArrangements() { Jolts jolts = new Jolts("input/day10.txt"); Assert.Equal(8, jolts.Arrangements()); }