示例#1
0
        public void Part2Test1()
        {
            var day4 = new Day4();
            var result = day4.Part2(_input);

            Assert.AreEqual(3938038, result);
        }
示例#2
0
        public void Part1Test2()
        {
            var day4 = new Day4();
            var result = day4.Part1("pqrstuv");

            Assert.AreEqual(1048970, result);
        }
示例#3
0
        public void Part1Test3()
        {
            var day4 = new Day4();
            var result = day4.Part1(_input);

            Assert.AreEqual(117946, result);
        }
示例#4
0
        public void Part1Test1()
        {
            var day4 = new Day4();
            var result = day4.Part1("abcdef");

            Assert.AreEqual(609043, result);
        }