Esempio n. 1
0
        public void Day01_TestRunAdvent04()
        {
            int expected = 9;

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

            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void Day01_TestRunAdvent05_SolutionA()
        {
            int expected = 1031;

            int actual = Day01CaptchaSum.CaptchaAdvent01(testData);

            Assert.AreEqual(expected, actual);
        }
Esempio n. 3
0
        public void Day01_TestRunAdvent03()
        {
            int expected = 0;

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

            Assert.AreEqual(expected, actual);
        }