diff options
author | kaiwu <kaiwu2004@gmail.com> | 2023-01-19 09:22:43 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2023-01-19 09:22:43 +0800 |
commit | 4a2ba567424842ee1ef32054ff789732bb18778c (patch) | |
tree | 46ef19f8231943cfcd13b50ba4a0e363d2c78eac /test/test_2015.cpp | |
parent | b629d6ebdf1f36d9b62a1f251bad2ffa2855d4c5 (diff) | |
download | advent-of-code-4a2ba567424842ee1ef32054ff789732bb18778c.tar.gz advent-of-code-4a2ba567424842ee1ef32054ff789732bb18778c.zip |
2015 day24
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 5358ac4..282ce2d 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -15,6 +15,7 @@ #include "2015/day22/aoc.h" #include "2015/day23/aoc.h" #include "2015/day24/aoc.h" +#include "2015/day25/aoc.h" #include "2015/day3/aoc.h" #include "2015/day4/aoc.h" #include "2015/day5/aoc.h" @@ -243,9 +244,16 @@ TEST_CASE("Opening the Turing Lock", "[2015]") { REQUIRE(334 == p.second); } -TEST_CASE("", "[2015]") { +TEST_CASE("It Hangs in the Balance", "[2015]") { line_view lv = load_file("../src/2015/day24/input0"); auto p = aoc2015::day24(lv); REQUIRE(0 == p.first); REQUIRE(0 == p.second); } + +TEST_CASE("Let It Snow", "[2015]") { + line_view lv = load_file("../src/2015/day25/input"); + auto p = aoc2015::day25(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} |