diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-20 19:28:22 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-20 19:28:22 +0800 |
commit | 4f62fff4afa338cefad3729eebd22fbffd98e002 (patch) | |
tree | 05ba04c1bb356399560423a0b0f3a1234ea67554 /test/test_2022.cpp | |
parent | 9950ca0e4d9ce53077b7add28e9baead0b935d05 (diff) | |
download | advent-of-code-4f62fff4afa338cefad3729eebd22fbffd98e002.tar.gz advent-of-code-4f62fff4afa338cefad3729eebd22fbffd98e002.zip |
2022 day20
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r-- | test/test_2022.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp index 50afb60..e3066d5 100644 --- a/test/test_2022.cpp +++ b/test/test_2022.cpp @@ -162,11 +162,11 @@ TEST_CASE("", "[2022]") { REQUIRE(0 == p.second); } -TEST_CASE("", "[2022]") { - line_view lv = load_file("../src/2022/day20/input0"); +TEST_CASE("Grove Positioning System", "[2022]") { + line_view lv = load_file("../src/2022/day20/input"); auto p = aoc2022::day20(lv); - REQUIRE(0 == p.first); - REQUIRE(0 == p.second); + REQUIRE(6712 == p.first); + REQUIRE(1595584274798 == p.second); } TEST_CASE("", "[2022]") { |