Beispiel #1
0
        public void TestPart1()
        {
            var input = @"L.LL.LL.LL
LLLLLLL.LL
L.L.L..L..
LLLL.LL.LL
L.LL.LL.LL
L.LLLLL.LL
..L.L.....
LLLLLLLLLL
L.LLLLLL.L
L.LLLLL.LL";

            var lines = input.Split('\n');

            var result = Day11Solver.Part1(lines);

            Assert.Equal(37, result);
        }
Beispiel #2
0
        internal static void Part1()
        {
            var input = Input.Lines(11);

            Console.WriteLine(Day11Solver.Part1(input));
        }