aboutsummaryrefslogtreecommitdiff
path: root/test/test_2020.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-05-14 17:39:58 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-05-14 17:39:58 +0800
commit17fe147d01b3522b7f9214b48d738b8e474cbed9 (patch)
treec83b20f5892a3ca4ef2192449a2591004d5b2f17 /test/test_2020.cpp
parent1a9146ae65c309c1c4dafb57a08ffb25c632fa78 (diff)
downloadadvent-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.cpp3
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);
}