aboutsummaryrefslogtreecommitdiff
path: root/test/test_2018.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-08 23:29:00 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-08 23:29:00 +0800
commite177901c23480b5e42c153b68fb8be32ce4a4a6d (patch)
tree594cb45d28fccd92988a2c64322021df490da0e7 /test/test_2018.cpp
parent133b01f692c98d12a82e4b102ea0ae5fc2c558ad (diff)
downloadadvent-of-code-e177901c23480b5e42c153b68fb8be32ce4a4a6d.tar.gz
advent-of-code-e177901c23480b5e42c153b68fb8be32ce4a4a6d.zip
2018 day4
Diffstat (limited to 'test/test_2018.cpp')
-rw-r--r--test/test_2018.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp
index a14f437..ee4c755 100644
--- a/test/test_2018.cpp
+++ b/test/test_2018.cpp
@@ -32,5 +32,7 @@ TEST_CASE("No Matter How You Slice It", "[2018]") {
TEST_CASE("Repose Record", "[2018]") {
line_view lv = load_file("../src/2018/day4/input");
- REQUIRE(0 == aoc2018::day4(lv));
+ auto p = aoc2018::day4(lv);
+ REQUIRE(14346 == p.first);
+ REQUIRE(5705 == p.second);
}