Exemple #1
0
        static void Main(string[] args)
        {
            Day19 day19 = new Day19();

            day19.Part1();
            day19.Part2();

            Console.Write("Press Enter to continue...");
            Console.ReadLine();
        }
        public async Task Star2()
        {
            var lines = await ReadUtils.ReadAllLines("./Day19Part1Input.txt").ConfigureAwait(false);

            Assert.Equal(359, Day19.Star2(lines));
        }
Exemple #3
0
        static void Main(string[] args)
        {
            Day19 d = new Day19();

            d.Solve(Util.Puzzle.Second);
        }
        public async Task Test1()
        {
            var lines = await ReadUtils.ReadAllLines("./Day19Part1Test1.txt").ConfigureAwait(false);

            Assert.Equal(2, Day19.Star1(lines));
        }