diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 00:36:26 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 00:36:26 +0800 |
commit | 5aefb9f9373deb7f9947d888934f1f59c70ff2b5 (patch) | |
tree | 6469b618bcc0baab88e31e871c0a8d3025b4557b /test | |
parent | fcf5c122e4efd4d4aceaf9eda7563ce9c3102395 (diff) | |
download | advent-of-code-5aefb9f9373deb7f9947d888934f1f59c70ff2b5.tar.gz advent-of-code-5aefb9f9373deb7f9947d888934f1f59c70ff2b5.zip |
2021 day4 board
Diffstat (limited to 'test')
-rw-r--r-- | test/test_2021.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp index 948c46f..7a57e5f 100644 --- a/test/test_2021.cpp +++ b/test/test_2021.cpp @@ -27,3 +27,8 @@ TEST_CASE("Binary Diagnostic", "[2021]") { REQUIRE(3885894 == p.first); REQUIRE(4375225 == p.second); } + +TEST_CASE("Giant Squid", "[2021]") { + line_view lv = load_file("../src/2021/day4/input"); + REQUIRE(0 == aoc2021::day4(lv)); +} |