diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-03-15 11:15:02 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-03-15 11:15:02 +0800 |
commit | 1a768c1b8d69986c1cafcf5ead8a1f0424cefcbe (patch) | |
tree | e64e58553a1bb5ef6f502f6972efbb5efbd51389 /test/test_2015.cpp | |
parent | 869443933e5686433ef92fbcad7cd377017651b2 (diff) | |
download | advent-of-code-1a768c1b8d69986c1cafcf5ead8a1f0424cefcbe.tar.gz advent-of-code-1a768c1b8d69986c1cafcf5ead8a1f0424cefcbe.zip |
day2 part2
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); } |