示例#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 TestArrangements()
        {
            Jolts jolts = new Jolts("input/day10.txt");

            Assert.Equal(8, jolts.Arrangements());
        }