示例#1
0
        public void PartTwo()
        {
            var pr     = new PairReduce(@"C:\Users\joshu\github\AdventOfCode2018\src\DayFive\input.txt");
            int answer = pr.PartTwo();

            Assert.Equal(4122, answer);
        }
示例#2
0
        public void ExamplePartTwo()
        {
            var lines = new string[]
            {
                "dabAcCaCBAcCcaDA"
            };

            var pr     = new PairReduce(lines);
            int answer = pr.PartTwo();

            Assert.Equal(4, answer);
        }