Пример #1
0
        public void Part2Test4()
        {
            var day3 = new Day3();
            var result = day3.Part2(_input);

            Assert.AreEqual(2639, result);
        }
Пример #2
0
        public void Part2Test3()
        {
            var day3 = new Day3();
            var result = day3.Part2("^v^v^v^v^v");

            Assert.AreEqual(11, result);
        }
Пример #3
0
        public void Part1Test4()
        {
            var day3 = new Day3();
            var result = day3.Part1(_input);

            Assert.AreEqual(2565, result);
        }
Пример #4
0
        public void Part2Test2()
        {
            var day3 = new Day3();
            var result = day3.Part2("^>v<");

            Assert.AreEqual(3, result);
        }
Пример #5
0
        public void Part1Test1()
        {
            var day3 = new Day3();
            var result = day3.Part1(">");

            Assert.AreEqual(2, result);
        }