aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_2017.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_2017.cpp b/test/test_2017.cpp
index 3230c9c..694899d 100644
--- a/test/test_2017.cpp
+++ b/test/test_2017.cpp
@@ -60,3 +60,10 @@ TEST_CASE("Memory Reallocation", "[2017]") {
REQUIRE(6681 == p.first);
REQUIRE(2392 == p.second);
}
+
+TEST_CASE("Recursive Circus", "[2017]") {
+ line_view lv = load_file("../src/2017/day7/input");
+ char x[10] = {0};
+ aoc2017::day7(lv, x);
+ REQUIRE(strcmp(x, "svugo") == 0);
+}