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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp
index 1f183b1..64dcfb4 100644
--- a/test/test_2018.cpp
+++ b/test/test_2018.cpp
@@ -40,6 +40,7 @@ TEST_CASE("Repose Record", "[2018]") {
TEST_CASE("Alchemical Reduction", "[2018]") {
line_view lv = load_file("../src/2018/day5/input");
- REQUIRE(11042 == aoc2018::day5(lv));
- // REQUIRE(10 == aoc2018::day5("dabAcCaCBAcCcaDA"));
+ auto p = aoc2018::day5(lv);
+ REQUIRE(11042 == p.first);
+ REQUIRE(6872 == p.second);
}