aboutsummaryrefslogtreecommitdiff
path: root/test/test_2019.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-06 23:15:56 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-06 23:15:56 +0800
commit5c2bc1f0e9c3999db079273dd38fe7cf88cd3fe4 (patch)
treea527bedc38b226f50aebee04c9e972509ccb58b8 /test/test_2019.cpp
parent8525575cdb87fc0b265525537635d0aafaada76c (diff)
downloadadvent-of-code-5c2bc1f0e9c3999db079273dd38fe7cf88cd3fe4.tar.gz
advent-of-code-5c2bc1f0e9c3999db079273dd38fe7cf88cd3fe4.zip
match earliest
Diffstat (limited to 'test/test_2019.cpp')
-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);
}