diff options
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r-- | test/test_2020.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp index 72cefc4..f3a8238 100644 --- a/test/test_2020.cpp +++ b/test/test_2020.cpp @@ -4,5 +4,7 @@ TEST_CASE("Report Repair", "[2020]") { line_view lv = load_file("../src/2020/day1/input"); - REQUIRE(1019904 == aoc2020::day1(lv, 2020)); + auto p = aoc2020::day1(lv, 2020); + REQUIRE(1019904 == p.first); + REQUIRE(0 == p.second); } |