diff options
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index f1d643b..151d84e 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -75,6 +75,9 @@ TEST_CASE("Doesn't He Have Intern-Elves For This?", "[day5]") { TEST_CASE("Probably a Fire Hazard", "[day6]") { aoc2015::grid<1000> grid; - grid.turn_on({0,0}, {0,999}); + grid.turn_on({0, 0}, {0, 999}); REQUIRE(grid.count() == 1000); + + line_view lv = load_file("../src/2015/day6/input"); + REQUIRE(543903 == aoc2015::day6(lv)); } |