Esempio n. 1
0
        public void Day01_TestRunAdvent09()
        {
            int expected = 12;

            int actual = Day01CaptchaSum.CaptchaAdvent01B("123123");

            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);
        }
Esempio n. 4
0
        public void Day01_TestRunAdvent04()
        {
            int expected = 9;

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

            Assert.AreEqual(expected, actual);
        }
Esempio n. 5
0
        public void Day01_TestRunAdvent10()
        {
            int expected = 4;

            int actual = Day01CaptchaSum.CaptchaAdvent01B("12131415");

            Assert.AreEqual(expected, actual);
        }