aboutsummaryrefslogtreecommitdiff
path: root/test/test_2020.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r--test/test_2020.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp
index 4b70fff..f507529 100644
--- a/test/test_2020.cpp
+++ b/test/test_2020.cpp
@@ -26,3 +26,8 @@ TEST_CASE("Toboggan Trajectory", "[2020]") {
REQUIRE(242 == p.first);
REQUIRE(2265549792 == p.second);
}
+
+TEST_CASE("Passport Processing", "[2020]") {
+ line_view lv = load_file("../src/2020/day4/input");
+ REQUIRE(256 == aoc2020::day4(lv));
+}