diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-14 22:32:20 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-14 22:32:20 +0800 |
commit | 363e289eb2b54757e52dc93efa3090c763a8aa39 (patch) | |
tree | c0965fb434472c3543beba5cdd976c03da86611f /test/test_2022.cpp | |
parent | c277bc6e370bc5ee8899055a112978c76c1e7b19 (diff) | |
download | advent-of-code-363e289eb2b54757e52dc93efa3090c763a8aa39.tar.gz advent-of-code-363e289eb2b54757e52dc93efa3090c763a8aa39.zip |
2022 day14
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r-- | test/test_2022.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp index 48dcb7e..8d80b5f 100644 --- a/test/test_2022.cpp +++ b/test/test_2022.cpp @@ -111,11 +111,10 @@ TEST_CASE("Distress Signal", "[2022]") { } TEST_CASE("Regolith Reservoir", "[2022]") { - line_view lv = load_file("../src/2022/day14/input0"); + line_view lv = load_file("../src/2022/day14/input"); auto p = aoc2022::day14(lv); - // REQUIRE(1133 == p.first); - REQUIRE(24 == p.first); - REQUIRE(0 == p.second); + REQUIRE(1133 == p.first); + REQUIRE(27566 == p.second); } TEST_CASE("", "[2022]") { |