diff options
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 84ddcbe..32ab803 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -22,5 +22,7 @@ TEST_CASE("parse box", "[day2]") { TEST_CASE("I Was Told There Would Be No Math", "[day2]") { line_view lv = load_file("../src/2015/day2/input"); - printf("%d\n", aoc2015::day2(lv)); + auto p = aoc2015::day2(lv); + REQUIRE(p.first == 1586300); + REQUIRE(p.second == 3737498); } |