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 f534e3e..4b70fff 100644
--- a/test/test_2020.cpp
+++ b/test/test_2020.cpp
@@ -22,5 +22,7 @@ TEST_CASE("Password Philosophy", "[2020]") {
TEST_CASE("Toboggan Trajectory", "[2020]") {
// line_view lv = load_file("../src/2020/day3/input0");
line_view lv = load_file("../src/2020/day3/input");
- REQUIRE(242 == aoc2020::day3(lv));
+ auto p = aoc2020::day3(lv);
+ REQUIRE(242 == p.first);
+ REQUIRE(2265549792 == p.second);
}