示例#1
0
        public void Day24_Part2_Examples()
        {
            var input = new string[] { "1", "2", "3", "4", "5", "7", "8", "9", "10", "11" };
            var d = new Day24();

            var expected = 44;
            var actual = d.GetFrontSeatQE(4, input);

            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void Day24_Part2_Solution()
        {
            var input = FileHelper.ReadTestFile(24);
            Assert.IsNotNull(input);

            var d = new Day24();

            var expected = 72050269;
            var actual = d.GetFrontSeatQE(4, input);

            Assert.AreEqual(expected, actual);
        }