diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 15:48:40 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-10 15:48:40 +0800 |
commit | 7518edc86fc1d77e09a624c97e71e2c7d877b54d (patch) | |
tree | 0f429a243dce549175f21cc628e4bfc1818641ec /test/test_2017.cpp | |
parent | fd91857910e637f6d813a19b745df7808b9b25af (diff) | |
download | advent-of-code-7518edc86fc1d77e09a624c97e71e2c7d877b54d.tar.gz advent-of-code-7518edc86fc1d77e09a624c97e71e2c7d877b54d.zip |
2017 day5
Diffstat (limited to 'test/test_2017.cpp')
-rw-r--r-- | test/test_2017.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2017.cpp b/test/test_2017.cpp index a201aed..104270e 100644 --- a/test/test_2017.cpp +++ b/test/test_2017.cpp @@ -42,3 +42,9 @@ TEST_CASE("High-Entropy Passphrases", "[2017]") { REQUIRE(386 == p.first); REQUIRE(208 == p.second); } + +TEST_CASE("A Maze of Twisty Trampolines, All Alike", "[2017]") { + line_view lv = load_file("../src/2017/day5/input"); + // line_view lv = load_file("../src/2017/day5/input0"); + REQUIRE(360603 == aoc2017::day5(lv)); +} |