aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-08 19:57:13 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-08 19:57:13 +0800
commit875915109841d2acb5b30bafcba1d0e342d88cdd (patch)
tree043a9d0c958e9766aa6b14b1f6961d63e92928d3 /test
parent5db7670bfa3a107718b05f4d652e0850347d16d8 (diff)
downloadadvent-of-code-875915109841d2acb5b30bafcba1d0e342d88cdd.tar.gz
advent-of-code-875915109841d2acb5b30bafcba1d0e342d88cdd.zip
2018 day4 part1 most off
Diffstat (limited to 'test')
-rw-r--r--test/test_2018.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2018.cpp b/test/test_2018.cpp
index f8699a1..a14f437 100644
--- a/test/test_2018.cpp
+++ b/test/test_2018.cpp
@@ -29,3 +29,8 @@ TEST_CASE("No Matter How You Slice It", "[2018]") {
REQUIRE(109785 == p.first);
REQUIRE(504 == p.second);
}
+
+TEST_CASE("Repose Record", "[2018]") {
+ line_view lv = load_file("../src/2018/day4/input");
+ REQUIRE(0 == aoc2018::day4(lv));
+}