Example #1
0
        public void Test0()
        {
            var input = "123456789012".ToArray().Select(e => int.Parse($"{e}")).ToArray();

            Assert.Equal(1, Day8.Star1(input, 3, 2));
        }
Example #2
0
        public async Task Star1()
        {
            var lines = await ReadUtils.ReadAllLines("./Day8Part1Input.txt").ConfigureAwait(false);

            Assert.Equal(2058, Day8.Star1(lines));
        }