aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-10 00:36:26 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-10 00:36:26 +0800
commit5aefb9f9373deb7f9947d888934f1f59c70ff2b5 (patch)
tree6469b618bcc0baab88e31e871c0a8d3025b4557b /test
parentfcf5c122e4efd4d4aceaf9eda7563ce9c3102395 (diff)
downloadadvent-of-code-5aefb9f9373deb7f9947d888934f1f59c70ff2b5.tar.gz
advent-of-code-5aefb9f9373deb7f9947d888934f1f59c70ff2b5.zip
2021 day4 board
Diffstat (limited to 'test')
-rw-r--r--test/test_2021.cpp5
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));
+}