コード例 #1
0
        public void Day08Part2()
        {
            var input = System.IO.File.ReadAllLines(@"Input\Day08Test.txt");

            var result1 = input.Sum(x => x.ToCharArray().Length);
            var result2 = input.Sum(x => Day08.Escape(x).Length);

            Assert.AreEqual(19, result2 - result1);
        }