aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-03-20 22:11:10 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-03-20 22:11:10 +0800
commit3bd1fa60246ecc9b2431350fb154b20547619da7 (patch)
tree9ff78fc6878c00a6c032ff6dd1beda642e7f543c /test/test_2015.cpp
parent8d14dac6c384fcccfdf884f5c89d363ec00e97e2 (diff)
downloadadvent-of-code-3bd1fa60246ecc9b2431350fb154b20547619da7.tar.gz
advent-of-code-3bd1fa60246ecc9b2431350fb154b20547619da7.zip
day16 done
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 72aa4df..89d384d 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -176,5 +176,8 @@ TEST_CASE("Science for Hungry People", "[day15]") {
}
TEST_CASE("Aunt Sue", "[day16]") {
- // line_view lv = load_file("../src/2015/day16/input");
+ line_view lv = load_file("../src/2015/day16/input");
+ auto p = aoc2015::day16(lv);
+ REQUIRE(103 == p.first);
+ REQUIRE(405 == p.second);
}