aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-22 15:15:30 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-22 15:15:30 +0800
commit03d317932a7c55325aea010dba153590d985f753 (patch)
tree9089362eeb08ce2590f9310e57626de94bbec158 /test/test_2022.cpp
parent4f62fff4afa338cefad3729eebd22fbffd98e002 (diff)
downloadadvent-of-code-03d317932a7c55325aea010dba153590d985f753.tar.gz
advent-of-code-03d317932a7c55325aea010dba153590d985f753.zip
2022 day21
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index e3066d5..50a767f 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -169,11 +169,11 @@ TEST_CASE("Grove Positioning System", "[2022]") {
REQUIRE(1595584274798 == p.second);
}
-TEST_CASE("", "[2022]") {
- line_view lv = load_file("../src/2022/day21/input0");
+TEST_CASE("Monkey Math", "[2022]") {
+ line_view lv = load_file("../src/2022/day21/input");
auto p = aoc2022::day21(lv);
- REQUIRE(0 == p.first);
- REQUIRE(0 == p.second);
+ REQUIRE(160274622817992 == p.first);
+ REQUIRE(3087390115721 == p.second);
}
TEST_CASE("", "[2022]") {