aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_2019.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp
index f64778b..02c3796 100644
--- a/test/test_2019.cpp
+++ b/test/test_2019.cpp
@@ -20,5 +20,7 @@ TEST_CASE("1202 Program Alarm", "[2019]") {
TEST_CASE("Crossed Wires", "[2019]") {
line_view lv = load_file("../src/2019/day3/input");
- REQUIRE(266 == aoc2019::day3(lv));
+ auto p = aoc2019::day3(lv);
+ REQUIRE(0 == p.first);
+ REQUIRE(266 == p.second);
}