diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-10 16:14:55 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-10 16:14:55 +0800 |
commit | 15db562e03e485010380cdea6a3c2005c05f17cf (patch) | |
tree | 5aa1102952c7b33d4082d61a1e2b58c2a6c88916 /test/test_2022.cpp | |
parent | 9081328b9a158c447ee7f23eaa45ff235250f9a6 (diff) | |
download | advent-of-code-15db562e03e485010380cdea6a3c2005c05f17cf.tar.gz advent-of-code-15db562e03e485010380cdea6a3c2005c05f17cf.zip |
2022 day10
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r-- | test/test_2022.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp index 13c0df6..a28abd1 100644 --- a/test/test_2022.cpp +++ b/test/test_2022.cpp @@ -77,9 +77,9 @@ TEST_CASE("Rope Bridge", "[2022]") { REQUIRE(2522 == p.second); } -TEST_CASE("", "[2022]") { +TEST_CASE("Cathode-Ray Tube", "[2022]") { line_view lv = load_file("../src/2022/day10/input"); auto p = aoc2022::day10(lv); - REQUIRE(0 == p.first); + REQUIRE(15680 == p.first); REQUIRE(0 == p.second); } |