aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 159e36b..94f5cca 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -90,6 +90,7 @@ TEST_CASE("Probably a Fire Hazard", "[day6]") {
}
TEST_CASE("Some Assembly Required", "[day 7]") {
+ /*
aoc2015::cals cals;
cals.parse("1 -> ab");
cals.parse("8 RSHIFT ab -> x");
@@ -101,4 +102,9 @@ TEST_CASE("Some Assembly Required", "[day 7]") {
REQUIRE(16 == cals.compute("ac").value);
REQUIRE(17 == cals.compute("ae").value);
REQUIRE(65531 == cals.compute("f").value);
+ */
+
+ line_view lv = load_file("../src/2015/day7/input");
+ auto r = aoc2015::day7(lv, "a");
+ REQUIRE(3176 == r.value);
}