diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-02 16:37:33 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-02 16:37:33 +0800 |
commit | c3e81e84ff4295ae5fb62439b00a02d9ad3db0b0 (patch) | |
tree | 32727f7ba138abcf62fe68a52d34cd5e7c36f995 /test/test_2021.cpp | |
parent | 3cf49cbcf2ba2ea24571c0c5ebbd4094aba17e0b (diff) | |
download | advent-of-code-c3e81e84ff4295ae5fb62439b00a02d9ad3db0b0.tar.gz advent-of-code-c3e81e84ff4295ae5fb62439b00a02d9ad3db0b0.zip |
2021 day9
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r-- | test/test_2021.cpp | 6 |
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); +} |