aboutsummaryrefslogtreecommitdiff
path: root/test/test_2018.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2018.cpp')
-rw-r--r--test/test_2018.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp
index db1c037..f6c61bd 100644
--- a/test/test_2018.cpp
+++ b/test/test_2018.cpp
@@ -24,5 +24,7 @@ TEST_CASE("Inventory Management System", "[2018]") {
TEST_CASE("No Matter How You Slice It", "[2018]") {
line_view lv = load_file("../src/2018/day3/input");
- REQUIRE(109785 == aoc2018::day3(lv, 1));
+ auto p = aoc2018::day3(lv, 1);
+ REQUIRE(109785 == p.first);
+ REQUIRE(504 == p.second);
}