diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-05-14 17:39:58 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-05-14 17:39:58 +0800 |
commit | 17fe147d01b3522b7f9214b48d738b8e474cbed9 (patch) | |
tree | c83b20f5892a3ca4ef2192449a2591004d5b2f17 /test/test_2020.cpp | |
parent | 1a9146ae65c309c1c4dafb57a08ffb25c632fa78 (diff) | |
download | advent-of-code-17fe147d01b3522b7f9214b48d738b8e474cbed9.tar.gz advent-of-code-17fe147d01b3522b7f9214b48d738b8e474cbed9.zip |
2020 day8
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r-- | test/test_2020.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp index 8573cd7..ef529a0 100644 --- a/test/test_2020.cpp +++ b/test/test_2020.cpp @@ -61,5 +61,6 @@ TEST_CASE("Handy Haversacks", "[2020]") { TEST_CASE("Handheld Halting", "[2020]") { line_view lv = load_file("../src/2020/day8/input"); auto p = aoc2020::day8(lv); - REQUIRE(1814 == p); + REQUIRE(1814 == p.first); + REQUIRE(1056 == p.second); } |