예제 #1
0
 public void ExampleOne()
 {
     Day03.PartOne(new[]
     {
         "..##.......",
         "#...#...#..",
         ".#....#..#.",
         "..#.#...#.#",
         ".#...##..#.",
         "..#.##.....",
         ".#.#.#....#",
         ".#........#",
         "#.##...#...",
         "#...##....#",
         ".#..#...#.#"
     })
     .Should()
     .Be(7);
 }
예제 #2
0
 public void PartOne() =>
     Output
         .WriteLine($"Trees encountered: {Day03.PartOne(Input)}");