diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-05-06 17:51:22 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-05-06 17:51:22 +0800 |
commit | dde34a27133632aa7892eb4533890aea5ea04efb (patch) | |
tree | ebf708f7b9ffa63b5b35ed33171a4597879f482a /test/test_2021.cpp | |
parent | 751c279cefea73b01f6f2457b9c65477d6f2df8d (diff) | |
download | advent-of-code-dde34a27133632aa7892eb4533890aea5ea04efb.tar.gz advent-of-code-dde34a27133632aa7892eb4533890aea5ea04efb.zip |
2021 day7
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r-- | test/test_2021.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp index 405bf03..173542b 100644 --- a/test/test_2021.cpp +++ b/test/test_2021.cpp @@ -56,6 +56,8 @@ TEST_CASE("Lanternfish", "[2021]") { TEST_CASE("The Treachery of Whales", "[2021]") { line_view lv = load_file("../src/2021/day7/input"); - // REQUIRE(37 == aoc2021::day7("16,1,2,0,4,2,7,1,2,14")); - REQUIRE(354129 == aoc2021::day7(lv)); + // auto p = aoc2021::day7("16,1,2,0,4,2,7,1,2,14"); + auto p = aoc2021::day7(lv); + REQUIRE(354129 == p.first); + REQUIRE(98905973 == p.second); } |