aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-04 13:31:56 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-04 13:31:56 +0800
commitbaf9117b3f11a03f21f37a5abb3ef105dff4652f (patch)
tree737df399dec0b68cf32eec0abb05b1dc76ef252a /test/test_2022.cpp
parentf69e238bec1b742fcb17709ab16f6ccf3d4ed514 (diff)
downloadadvent-of-code-baf9117b3f11a03f21f37a5abb3ef105dff4652f.tar.gz
advent-of-code-baf9117b3f11a03f21f37a5abb3ef105dff4652f.zip
2022 day4
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 5629e2b..d93f690 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -26,9 +26,9 @@ TEST_CASE("Rucksack Reorganization", "[2022]") {
REQUIRE(2817 == p.second);
}
-TEST_CASE("", "[2022]") {
+TEST_CASE("Camp Cleanup", "[2022]") {
line_view lv = load_file("../src/2022/day4/input");
auto p = aoc2022::day4(lv);
- REQUIRE(0 == p.first);
- REQUIRE(0 == p.second);
+ REQUIRE(431 == p.first);
+ REQUIRE(823 == p.second);
}