aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_2015.cpp3
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));
}