diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-08 23:29:00 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-08 23:29:00 +0800 |
commit | e177901c23480b5e42c153b68fb8be32ce4a4a6d (patch) | |
tree | 594cb45d28fccd92988a2c64322021df490da0e7 /test/test_2018.cpp | |
parent | 133b01f692c98d12a82e4b102ea0ae5fc2c558ad (diff) | |
download | advent-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.cpp | 4 |
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); } |