Пример #1
0
        public void Part2Solution()
        {
            var lines  = InputDataHelper.GetLines(3);
            var solver = new Day03();
            var result = solver.Solve2(lines[0], lines[1]);

            _testOutputHelper.WriteLine(result.ToString());
        }
Пример #2
0
        public void Part1Solution()
        {
            var solver = new Day01();
            var data   = InputDataHelper.GetLines(1);
            var result = data.Sum(d => solver.Solve(int.Parse(d)));

            _testOutputHelper.WriteLine(result.ToString());
        }
Пример #3
0
        public void Solve2()
        {
            var data   = InputDataHelper.GetLines(6);
            var solver = new Day06();
            var result = solver.Solve2(data);

            _testOutputHelper.WriteLine(result.ToString());
        }