aboutsummaryrefslogtreecommitdiff
path: root/test/test_2021.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r--test/test_2021.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp
index c58485d..f88b7ff 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -63,3 +63,9 @@ TEST_CASE("The Treachery of Whales", "[2021]") {
REQUIRE(354129 == p.first);
REQUIRE(98905973 == p.second);
}
+
+TEST_CASE("Seven Segment Search", "[2021]") {
+ line_view lv = load_file("../src/2021/day8/input");
+ auto p = aoc2021::day8(lv);
+ REQUIRE(519 == p);
+}