aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-14 22:32:20 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-14 22:32:20 +0800
commit363e289eb2b54757e52dc93efa3090c763a8aa39 (patch)
treec0965fb434472c3543beba5cdd976c03da86611f /test/test_2022.cpp
parentc277bc6e370bc5ee8899055a112978c76c1e7b19 (diff)
downloadadvent-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.cpp7
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]") {