diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-09 17:45:35 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-09 17:45:35 +0800 |
commit | 17422ecf08caeb2bd06e515870ab7b7d7a3c8760 (patch) | |
tree | dfc9fe025b80541a27c1864c8a19dbb9508034e9 /test/test_2020.cpp | |
parent | e5e105f3c7693e588fcb61b9360c1305789c961b (diff) | |
download | advent-of-code-17422ecf08caeb2bd06e515870ab7b7d7a3c8760.tar.gz advent-of-code-17422ecf08caeb2bd06e515870ab7b7d7a3c8760.zip |
2020 day4
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r-- | test/test_2020.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp index 4b70fff..f507529 100644 --- a/test/test_2020.cpp +++ b/test/test_2020.cpp @@ -26,3 +26,8 @@ TEST_CASE("Toboggan Trajectory", "[2020]") { REQUIRE(242 == p.first); REQUIRE(2265549792 == p.second); } + +TEST_CASE("Passport Processing", "[2020]") { + line_view lv = load_file("../src/2020/day4/input"); + REQUIRE(256 == aoc2020::day4(lv)); +} |