Пример #1
0
        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);
        }
Пример #2
0
        public void TestDifferences()
        {
            Jolts jolts = new Jolts("input/day10.txt");

            Assert.Equal(35, jolts.Differences());
        }