Пример #1
0
        public void PartOne()
        {
            var    pr     = new PairReduce(@"C:\Users\joshu\github\AdventOfCode2018\src\DayFive\input.txt");
            string answer = pr.Reduce();

            Assert.Equal(10368, answer.Length);
        }
Пример #2
0
        public void ExamplePartOne()
        {
            var lines = new string[]
            {
                "dabAcCaCBAcCcaDA"
            };

            var    pr     = new PairReduce(lines);
            string answer = pr.Reduce();

            Assert.Equal(10, answer.Length);
        }