Пример #1
0
        public void Part2Test3()
        {
            var day2 = new Day2();
            var result = day2.Part2(_input);

            Assert.AreEqual(3842356, result);
        }
Пример #2
0
        public void Part2Test1()
        {
            var day2 = new Day2();
            var result = day2.Part2("2x3x4");

            Assert.AreEqual(34, result);
        }
Пример #3
0
        public void Part2Test2()
        {
            var day2 = new Day2();
            var result = day2.Part2("1x1x10");

            Assert.AreEqual(14, result);
        }
Пример #4
0
        public void Part1Test3()
        {
            var day2 = new Day2();
            var result = day2.Part1(_input);

            Assert.AreEqual(1606483, result);
        }