예제 #1
0
        public void Part1_TestOne()
        {
            var lines = new List <string> {
                "abcdef", "bababc", "abbcde", "abcccd", "aabcdd", "abcdee", "ababab"
            };

            Assert.AreEqual(12, Day02.GetChecksum(lines));
        }
예제 #2
0
        public void ShouldGetCorrectChecksum()
        {
            var result = Day02.GetChecksum(path);

            Assert.AreEqual(5681, result);
        }