Exemple #1
0
        public void Part1()
        {
            var day    = new Day8(TestData);
            var result = day.GetAccumulatorOnFirstLoop();

            Assert.Equal(5, result);
        }
Exemple #2
0
        public async Task Part1DataAsync()
        {
            var data = await FileHelper.GetInputAsText(Day);

            var day    = new Day8(data);
            var result = day.GetAccumulatorOnFirstLoop();

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