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

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

            Assert.AreEqual(5681, result);
        }