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 943883a..1618b89 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -70,3 +70,9 @@ TEST_CASE("Seven Segment Search", "[2021]") {
REQUIRE(519 == p.first);
REQUIRE(1027483 == p.second);
}
+
+TEST_CASE("Smoke Basin", "[2021]") {
+ line_view lv = load_file("../src/2021/day9/input");
+ auto p = aoc2021::day9(lv);
+ REQUIRE(580 == p.first);
+}