aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_2020.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp
index b2359f1..8573cd7 100644
--- a/test/test_2020.cpp
+++ b/test/test_2020.cpp
@@ -57,3 +57,9 @@ TEST_CASE("Handy Haversacks", "[2020]") {
REQUIRE(126 == p.first);
REQUIRE(220149 == p.second);
}
+
+TEST_CASE("Handheld Halting", "[2020]") {
+ line_view lv = load_file("../src/2020/day8/input");
+ auto p = aoc2020::day8(lv);
+ REQUIRE(1814 == p);
+}