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 4cbabb9..405bf03 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -53,3 +53,9 @@ TEST_CASE("Lanternfish", "[2021]") {
REQUIRE(379114 == aoc2021::day6(lv, 80));
REQUIRE(1702631502303 == aoc2021::day6(lv, 256));
}
+
+TEST_CASE("The Treachery of Whales", "[2021]") {
+ line_view lv = load_file("../src/2021/day7/input");
+ // REQUIRE(37 == aoc2021::day7("16,1,2,0,4,2,7,1,2,14"));
+ REQUIRE(354129 == aoc2021::day7(lv));
+}