예제 #1
0
        public void Test1PuzzleInput()
        {
            var day02 = new Day02();

            Assert.AreEqual(
                439,
                day02.Solve1(Day02.PUZZLE_INPUT));
        }
예제 #2
0
        public void Test1FromExample()
        {
            var day02 = new Day02();

            Assert.AreEqual(
                2,
                day02.Solve1(
                    new string[]
            {
                "1-3 a: abcde",
                "1-3 b: cdefg",
                "2-9 c: ccccccccc",
            }));
        }