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.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp
index f507529..a743d10 100644
--- a/test/test_2020.cpp
+++ b/test/test_2020.cpp
@@ -29,5 +29,7 @@ TEST_CASE("Toboggan Trajectory", "[2020]") {
TEST_CASE("Passport Processing", "[2020]") {
line_view lv = load_file("../src/2020/day4/input");
- REQUIRE(256 == aoc2020::day4(lv));
+ auto p = aoc2020::day4(lv);
+ REQUIRE(256 == p.first);
+ REQUIRE(198 == p.second);
}