diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_2015.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 5a55d13..a6bb135 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -72,3 +72,9 @@ TEST_CASE("Doesn't He Have Intern-Elves For This?", "[day5]") { REQUIRE(p.first == 255); REQUIRE(p.second == 55); } + +TEST_CASE("Probably a Fire Hazard", "[day6]") { + aoc2015::grid<1024> grid; + grid.turn_on({0,0}, {0,999}); + REQUIRE(grid.count() == 1000); +} |