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