diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-03-21 19:28:26 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-03-21 19:28:26 +0800 |
commit | 6905858d6fe4ab21c419992ad4bb0bbc002692d0 (patch) | |
tree | 6d2a99824604f08c7f0623797cd16bfa4173e1d6 /test/test_2015.cpp | |
parent | bd126e2b3361ef472bcf819374638eb0d42c1ea2 (diff) | |
download | advent-of-code-6905858d6fe4ab21c419992ad4bb0bbc002692d0.tar.gz advent-of-code-6905858d6fe4ab21c419992ad4bb0bbc002692d0.zip |
day18 part1
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 275d3aa..97924b8 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -189,8 +189,9 @@ TEST_CASE("No Such Thing as Too Much", "[day17]") { auto p = aoc2015::day17(lv, 150); REQUIRE(654 == p.first); REQUIRE(57 == p.second); - } TEST_CASE("Like a GIF For Your Yard", "[day18]") { + line_view lv = load_file("../src/2015/day18/input"); + REQUIRE(821 == aoc2015::day18(lv, 100)); } |