aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2023-01-25 12:41:50 +0800
committerkaiwu <kaiwu2004@gmail.com>2023-01-25 12:41:50 +0800
commit2be2127f7d5ec7796f4e5b5a69068db4c1ccc42b (patch)
tree22544e605390e373c75a08feceee08fae94e157f /test
parentf08f78b465ab805f606bbde647a12e7b3a82750d (diff)
downloadadvent-of-code-2be2127f7d5ec7796f4e5b5a69068db4c1ccc42b.tar.gz
advent-of-code-2be2127f7d5ec7796f4e5b5a69068db4c1ccc42b.zip
2016 day16
Diffstat (limited to 'test')
-rw-r--r--test/test_2016.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_2016.cpp b/test/test_2016.cpp
index 658acce..97c6fc0 100644
--- a/test/test_2016.cpp
+++ b/test/test_2016.cpp
@@ -146,11 +146,11 @@ TEST_CASE("Timing is Everything", "[2016]") {
}
-TEST_CASE("", "[2016]") {
+TEST_CASE("Dragon Checksum", "[2016]") {
line_view lv = load_file("../src/2016/day16/input");
auto p = aoc2016::day16(lv);
- REQUIRE(0 == p.first);
- REQUIRE(0 == p.second);
+ REQUIRE("01110011101111011" == p.first);
+ REQUIRE("11001111011000111" == p.second);
}