diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 22:43:23 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 22:43:23 +0800 |
commit | 4a1e85f964a4079f138b52b5e55b97dfb426b7e5 (patch) | |
tree | 334d6493791dfe0e907e451aeeceee02ed8645ea /test/test_2018.cpp | |
parent | ac146284fd54e11c7657a39f45fe8cc0213ebeb7 (diff) | |
download | advent-of-code-4a1e85f964a4079f138b52b5e55b97dfb426b7e5.tar.gz advent-of-code-4a1e85f964a4079f138b52b5e55b97dfb426b7e5.zip |
2018 day5
Diffstat (limited to 'test/test_2018.cpp')
-rw-r--r-- | test/test_2018.cpp | 5 |
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); } |