aboutsummaryrefslogtreecommitdiff
path: root/test/test_2019.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r--test/test_2019.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp
index 30c80c2..f64778b 100644
--- a/test/test_2019.cpp
+++ b/test/test_2019.cpp
@@ -17,3 +17,8 @@ TEST_CASE("1202 Program Alarm", "[2019]") {
REQUIRE(11590668 == p.first);
REQUIRE(2254 == p.second);
}
+
+TEST_CASE("Crossed Wires", "[2019]") {
+ line_view lv = load_file("../src/2019/day3/input");
+ REQUIRE(266 == aoc2019::day3(lv));
+}