diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_2019.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp index 8dfc012..1505395 100644 --- a/test/test_2019.cpp +++ b/test/test_2019.cpp @@ -9,3 +9,8 @@ TEST_CASE("The Tyranny of the Rocket Equation", "[2019]") { REQUIRE(5203967 == aoc2019::day1part2(lv)); REQUIRE(50346 == aoc2019::day1part2("100756")); } + +TEST_CASE("1202 Program Alarm", "[2019]") { + line_view lv = load_file("../src/2019/day2/input"); + REQUIRE(11590668 == aoc2019::day2(lv)); +} |