aboutsummaryrefslogtreecommitdiff
path: root/test/test_2018.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-19 22:45:20 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-19 22:45:20 +0800
commitad940fa52f8bc45f07b5678eee4d94ee662e769b (patch)
tree38cb5bb6414ebed16832398fe8ac7d061d2f8af4 /test/test_2018.cpp
parent7da1f98aaad6260d68ca0a819f0f7c5388b47a4d (diff)
downloadadvent-of-code-ad940fa52f8bc45f07b5678eee4d94ee662e769b.tar.gz
advent-of-code-ad940fa52f8bc45f07b5678eee4d94ee662e769b.zip
2018 2019 day7 part1
Diffstat (limited to 'test/test_2018.cpp')
-rw-r--r--test/test_2018.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp
index d41cac0..a7e4204 100644
--- a/test/test_2018.cpp
+++ b/test/test_2018.cpp
@@ -59,5 +59,5 @@ TEST_CASE("The Sum of Its Parts", "[2018]") {
line_view lv = load_file("../src/2018/day7/input");
char sequence[100] = {0};
aoc2018::day7(lv, sequence);
- printf("%s\n", sequence);
+ REQUIRE(strcmp("BGKDMJCNEQRSTUZWHYLPAFIVXO", sequence) == 0);
}