aboutsummaryrefslogtreecommitdiff
path: root/test/test_2021.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-14 09:50:41 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-14 09:50:41 +0800
commitf661c45c189df7a12dac3d6bc6fa6e0633edc685 (patch)
treed402810028f668fc49eb2dac5baab307f1a24e4f /test/test_2021.cpp
parenta47c8c9c17862c9977af346bab17fae4e5bdb905 (diff)
downloadadvent-of-code-f661c45c189df7a12dac3d6bc6fa6e0633edc685.tar.gz
advent-of-code-f661c45c189df7a12dac3d6bc6fa6e0633edc685.zip
2021 day5
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r--test/test_2021.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp
index 0096a8c..3208c4b 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -37,9 +37,8 @@ TEST_CASE("Giant Squid", "[2021]") {
}
TEST_CASE("Hydrothermal Venture", "[2021]") {
- line_view lv = load_file("../src/2021/day5/input0");
+ line_view lv = load_file("../src/2021/day5/input");
auto p = aoc2021::day5(lv);
- // REQUIRE(5774 == p.first);
- REQUIRE(5 == p.first);
- REQUIRE(12 == p.second);
+ REQUIRE(5774 == p.first);
+ REQUIRE(18423 == p.second);
}