diff options
author | kaiwu <kaiwu2004@gmail.com> | 2023-02-08 15:57:49 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2023-02-08 15:57:49 +0800 |
commit | f16c630fad1481f7097b4c514739e15b2cddb334 (patch) | |
tree | 619f99381d584395bc824743dbbf9a47dd226253 /test | |
parent | 6700ffdab424d6f238431efbd6094224f14c8379 (diff) | |
download | advent-of-code-f16c630fad1481f7097b4c514739e15b2cddb334.tar.gz advent-of-code-f16c630fad1481f7097b4c514739e15b2cddb334.zip |
2017 day12
Diffstat (limited to 'test')
-rw-r--r-- | test/test_2017.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_2017.cpp b/test/test_2017.cpp index 4a5b194..57777b8 100644 --- a/test/test_2017.cpp +++ b/test/test_2017.cpp @@ -130,15 +130,15 @@ TEST_CASE("Hex Ed", "[2017]") { } -TEST_CASE("", "[2017]") { +TEST_CASE("Digital Plumber", "[2017]") { line_view lv = load_file("../src/2017/day12/input"); auto p = aoc2017::day12(lv); - REQUIRE(0 == p.first); - REQUIRE(0 == p.second); + REQUIRE(239 == p.first); + REQUIRE(215 == p.second); } -TEST_CASE("", "[2017]") { +TEST_CASE("Packet Scanners", "[2017]") { line_view lv = load_file("../src/2017/day13/input"); auto p = aoc2017::day13(lv); REQUIRE(0 == p.first); |