diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-09 19:49:01 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-09 19:49:01 +0800 |
commit | 99a436cd89a91b7dc302e16f478f06177abed9bd (patch) | |
tree | 4399c58a1d7c72faf1bc1ec9ad10f4c82f4504bd /test/test_2020.cpp | |
parent | 17422ecf08caeb2bd06e515870ab7b7d7a3c8760 (diff) | |
download | advent-of-code-99a436cd89a91b7dc302e16f478f06177abed9bd.tar.gz advent-of-code-99a436cd89a91b7dc302e16f478f06177abed9bd.zip |
2020 day4
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r-- | test/test_2020.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp index f507529..a743d10 100644 --- a/test/test_2020.cpp +++ b/test/test_2020.cpp @@ -29,5 +29,7 @@ TEST_CASE("Toboggan Trajectory", "[2020]") { TEST_CASE("Passport Processing", "[2020]") { line_view lv = load_file("../src/2020/day4/input"); - REQUIRE(256 == aoc2020::day4(lv)); + auto p = aoc2020::day4(lv); + REQUIRE(256 == p.first); + REQUIRE(198 == p.second); } |