aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2023-01-04 15:37:54 +0800
committerkaiwu <kaiwu2004@gmail.com>2023-01-04 15:37:54 +0800
commite337fcaae99ad418ddb8df719b32227f6d671d62 (patch)
tree2864f521b01721e5e7fcbba23fc41ccb9abff349 /test/test_2022.cpp
parent571273ce8198fe9309374a4d34d67974033693ee (diff)
downloadadvent-of-code-e337fcaae99ad418ddb8df719b32227f6d671d62.tar.gz
advent-of-code-e337fcaae99ad418ddb8df719b32227f6d671d62.zip
2022 day22 part2
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index 18c204a..a62a205 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -177,10 +177,10 @@ TEST_CASE("Monkey Math", "[2022]") {
}
TEST_CASE("Monkey Map", "[2022]") {
- line_view lv = load_file("../src/2022/day22/input0");
+ line_view lv = load_file("../src/2022/day22/input");
auto p = aoc2022::day22(lv);
- // REQUIRE(75388 == p.first);
- REQUIRE(0 == p.second);
+ REQUIRE(75388 == p.first);
+ REQUIRE(182170 == p.second);
}
TEST_CASE("", "[2022]") {