aboutsummaryrefslogtreecommitdiff
path: root/test/test_2019.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-11 11:32:08 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-11 11:32:08 +0800
commit65006ba92d528ad4091adab688808f99e5681d27 (patch)
treedcaf79cad292c5e331c765dbab37b5e6180f63a2 /test/test_2019.cpp
parent4a1e85f964a4079f138b52b5e55b97dfb426b7e5 (diff)
downloadadvent-of-code-65006ba92d528ad4091adab688808f99e5681d27.tar.gz
advent-of-code-65006ba92d528ad4091adab688808f99e5681d27.zip
2019 day5 part1
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 470c220..922af88 100644
--- a/test/test_2019.cpp
+++ b/test/test_2019.cpp
@@ -32,3 +32,8 @@ TEST_CASE("Secure Container", "[2019]") {
REQUIRE(966 == p.first);
REQUIRE(628 == p.second);
}
+
+TEST_CASE("Sunny with a Chance of Asteroids", "[2019]") {
+ line_view lv = load_file("../src/2019/day5/input");
+ REQUIRE(6761139 == aoc2019::day5(lv));
+}