aboutsummaryrefslogtreecommitdiff
path: root/test/test_2019.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r--test/test_2019.cpp5
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));
+}