diff options
Diffstat (limited to 'test/test_2016.cpp')
-rw-r--r-- | test/test_2016.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_2016.cpp b/test/test_2016.cpp index f0f454f..75ed006 100644 --- a/test/test_2016.cpp +++ b/test/test_2016.cpp @@ -2,9 +2,9 @@ #include "catch.hpp" #include <stdio.h> -TEST_CASE("No Time for a Taxicab", "[day1]") { +TEST_CASE("No Time for a Taxicab", "[2016]") { line_view lv = load_file("../src/2016/day1/input"); - REQUIRE(298 == aoc2016::day1(lv)); - // printf("%d\n", aoc2016::day1("R2, R2, R2")); - // printf("%d\n", aoc2016::day1("R5, L5, R5, R3")); + auto p = aoc2016::day1(lv); + REQUIRE(298 == p.first); + REQUIRE(158 == p.second); } |