diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-05-12 18:32:35 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-05-12 18:32:35 +0800 |
commit | dfe25822f031cebea626eca29ea304af5598f657 (patch) | |
tree | b335f6bd48f4a2219bf99707f223858da440e9d5 /test/test_2018.cpp | |
parent | ce1776fa51e0cb9f20abb164da64fb42d4520691 (diff) | |
download | advent-of-code-dfe25822f031cebea626eca29ea304af5598f657.tar.gz advent-of-code-dfe25822f031cebea626eca29ea304af5598f657.zip |
2018 day8
Diffstat (limited to 'test/test_2018.cpp')
-rw-r--r-- | test/test_2018.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp index e91e4b7..0ef6359 100644 --- a/test/test_2018.cpp +++ b/test/test_2018.cpp @@ -66,6 +66,8 @@ TEST_CASE("The Sum of Its Parts", "[2018]") { TEST_CASE("Memory Maneuver", "[2018]") { line_view lv = load_file("../src/2018/day8/input"); auto p = aoc2018::day8(lv); + REQUIRE(36891 == p.first); + REQUIRE(20083 == p.second); // auto p = aoc2018::day8("2 3 0 3 10 11 12 1 1 0 1 99 2 1 1 2"); - REQUIRE(36891 == p); + // REQUIRE(138 == p.first); } |