示例#1
0
        public void Day01_TestRunAdvent04()
        {
            int expected = 9;

            int actual = Day01CaptchaSum.CaptchaAdvent01("91212129");

            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void Day01_TestRunAdvent05_SolutionA()
        {
            int expected = 1031;

            int actual = Day01CaptchaSum.CaptchaAdvent01(testData);

            Assert.AreEqual(expected, actual);
        }
示例#3
0
        public void Day01_TestRunAdvent03()
        {
            int expected = 0;

            int actual = Day01CaptchaSum.CaptchaAdvent01("1234");

            Assert.AreEqual(expected, actual);
        }