aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-17 10:49:39 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-17 10:49:39 +0800
commit8a71f9dedc7f74fb31e8c00991c928f1ab44303f (patch)
tree8e9eb51226b9ba78b47ca5fe9c610c4fcd950c62 /test
parent096c7e2226bfd45a98a4f3aae25f6394cb89cd22 (diff)
downloadadvent-of-code-8a71f9dedc7f74fb31e8c00991c928f1ab44303f.tar.gz
advent-of-code-8a71f9dedc7f74fb31e8c00991c928f1ab44303f.zip
2019 day6 part1
Diffstat (limited to 'test')
-rw-r--r--test/test_2019.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp
index dfe66ee..30bdd12 100644
--- a/test/test_2019.cpp
+++ b/test/test_2019.cpp
@@ -40,3 +40,9 @@ TEST_CASE("Sunny with a Chance of Asteroids", "[2019]") {
REQUIRE(6761139 == p.first);
REQUIRE(9217546 == p.second);
}
+
+TEST_CASE("Universal Orbit Map", "[2019]") {
+ line_view lv = load_file("../src/2019/day6/input");
+ auto p = aoc2019::day6(lv);
+ REQUIRE(0 == p);
+}