Example #1
0
        public void Part1_CalculateResultForSimpleExample()
        {
            var input = new[]
            {
                "abc",
                "",
                "a",
                "b",
                "c",
                "",
                "ab",
                "ac",
                "",
                "a",
                "a",
                "a",
                "a",
                "",
                "b"
            };

            DaySix.CalculateResultForPartOne(input).Should().Be(11);
        }
Example #2
0
        public void Part1_CalculateResult()
        {
            var input = File.ReadAllLines(@"Input/input6.txt");

            System.Console.WriteLine(DaySix.CalculateResultForPartOne(input));
        }