Esempio n. 1
0
        public void Day2_1()
        {
            var input = "5\t9\t2\t8\n9\t4\t7\t3\n3\t8\t6\t5";

            Assert.AreEqual(9, Day_2.CorruptionChecksum_EvenlyDivisible(input));
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Day_2 day = new Day_2();

            day.Run();
        }
Esempio n. 3
0
        public void Day2_0()
        {
            var input = "5\t1\t9\t5\n7\t5\t3\n2\t4\t6\t8";

            Assert.AreEqual(Day_2.CorruptionChecksum(input), 18);
        }