From 5aefb9f9373deb7f9947d888934f1f59c70ff2b5 Mon Sep 17 00:00:00 2001 From: kaiwu Date: Sun, 10 Apr 2022 00:36:26 +0800 Subject: 2021 day4 board --- test/test_2021.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test_2021.cpp') 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)); +} -- cgit v1.2.3