diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-03-20 12:45:27 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-03-20 12:45:27 +0800 |
commit | 2d02934b67815b6ae03249474d06da31e1e7647c (patch) | |
tree | 07ba940842a5cb9e240e588efc0bd58e3c77d8ec /test/test_2015.cpp | |
parent | 8a59303f3bc876bfa2d0db5aca548233ea15272d (diff) | |
download | advent-of-code-2d02934b67815b6ae03249474d06da31e1e7647c.tar.gz advent-of-code-2d02934b67815b6ae03249474d06da31e1e7647c.zip |
day14 part2
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 3b0fb1a..8bb83ce 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -161,5 +161,7 @@ TEST_CASE("Knights of the Dinner Table", "[day13]") { TEST_CASE("Reindeer Olympics", "[day14]") { line_view lv = load_file("../src/2015/day14/input"); - REQUIRE(0 == aoc2015::day14(lv, 2503)); + auto p = aoc2015::day14(lv, 2503); + REQUIRE(2640 == p.first); + REQUIRE(0 == p.second); } |