diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-03-19 19:33:10 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-03-19 19:33:10 +0800 |
commit | 9a5732aeb6d0966c70c73be76802eb039c65ea18 (patch) | |
tree | 3b046daad85c2f18799bdca1e4e2995362417901 /test/test_2015.cpp | |
parent | 836266ad7d7215205d9563908106154408c4eef1 (diff) | |
download | advent-of-code-9a5732aeb6d0966c70c73be76802eb039c65ea18.tar.gz advent-of-code-9a5732aeb6d0966c70c73be76802eb039c65ea18.zip |
day12 done
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 4089df7..4cc9a2a 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -140,7 +140,8 @@ TEST_CASE("Corporate Policy", "[day11]") { } TEST_CASE("", "[day12]") { + // printf("%d\n", aoc2015::day12_part2("[{ 5 {red1} {3{4 {10}}3}} 10 red 10]")); line_view lv = load_file("../src/2015/day12/input"); REQUIRE(156366 == aoc2015::day12(lv)); - printf("%d\n", aoc2015::day12_part2("[{ 5 {red1} {3{4}}} 10 red 10]")); + REQUIRE(96852 == aoc2015::day12_part2(lv)); } |