diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-04 13:31:56 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-04 13:31:56 +0800 |
commit | baf9117b3f11a03f21f37a5abb3ef105dff4652f (patch) | |
tree | 737df399dec0b68cf32eec0abb05b1dc76ef252a /test/test_2022.cpp | |
parent | f69e238bec1b742fcb17709ab16f6ccf3d4ed514 (diff) | |
download | advent-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.cpp | 6 |
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); } |