diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-05 13:15:31 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-05 13:15:31 +0800 |
commit | e23d6cd0d7fc195453dfbef876a893360f49178a (patch) | |
tree | fcac3ec942317f0147ca34f02bd2f80845e2b613 /test/test_2019.cpp | |
parent | 0742b596f9da460736d64a261312099b3e6483b3 (diff) | |
download | advent-of-code-e23d6cd0d7fc195453dfbef876a893360f49178a.tar.gz advent-of-code-e23d6cd0d7fc195453dfbef876a893360f49178a.zip |
2019 day2
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r-- | test/test_2019.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp index 1505395..20cbd24 100644 --- a/test/test_2019.cpp +++ b/test/test_2019.cpp @@ -12,5 +12,7 @@ TEST_CASE("The Tyranny of the Rocket Equation", "[2019]") { TEST_CASE("1202 Program Alarm", "[2019]") { line_view lv = load_file("../src/2019/day2/input"); - REQUIRE(11590668 == aoc2019::day2(lv)); + auto p = aoc2019::day2(lv); + REQUIRE(11590668 == p.first); + REQUIRE(2254 == p.second); } |