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