public void Solution() { const int Expected = 7657; var input = Resources.InputD2P1.Split(Environment.NewLine).ToArray(); var actual = DayTwo.Checksum(input); Assert.Equal(Expected, actual); }
public void Test1() { var input = new[] { "abcdef", "bababc", "abbcde", "abcccd", "aabcdd", "abcdee", "ababab" }; const int Expected = 12; var actual = DayTwo.Checksum(input); Assert.Equal(Expected, actual); }