aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2023-02-07 10:09:41 +0800
committerkaiwu <kaiwu2004@gmail.com>2023-02-07 10:09:41 +0800
commitc50b1c43a20026039d28a073190c68f8b7760bb0 (patch)
treee57ff8bf36fe0b9ef416444e851e68253df904c6 /test
parentf543b8886bf13d735cd4fe5fb5b16d43f719721e (diff)
downloadadvent-of-code-c50b1c43a20026039d28a073190c68f8b7760bb0.tar.gz
advent-of-code-c50b1c43a20026039d28a073190c68f8b7760bb0.zip
2017 day10 part1
Diffstat (limited to 'test')
-rw-r--r--test/test_2017.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_2017.cpp b/test/test_2017.cpp
index 7bf9d55..06cb6cd 100644
--- a/test/test_2017.cpp
+++ b/test/test_2017.cpp
@@ -115,10 +115,10 @@ TEST_CASE("Stream Processing", "[2017]") {
// }
}
-TEST_CASE("", "[2017]") {
+TEST_CASE("Knot Hash", "[2017]") {
line_view lv = load_file("../src/2017/day10/input");
auto p = aoc2017::day10(lv);
- REQUIRE(0 == p.first);
+ REQUIRE(15990 == p.first);
REQUIRE(0 == p.second);
}