aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-10 12:39:25 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-10 12:39:25 +0800
commit9081328b9a158c447ee7f23eaa45ff235250f9a6 (patch)
tree265ccb346950deee27102065ef0c99d13bde93a0 /test/test_2015.cpp
parent5c7e66af79b30151964ed1469dc4bc83a8bf0043 (diff)
downloadadvent-of-code-9081328b9a158c447ee7f23eaa45ff235250f9a6.tar.gz
advent-of-code-9081328b9a158c447ee7f23eaa45ff235250f9a6.zip
2015 day24 setup
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 2dae1bf..f8b3412 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -14,6 +14,7 @@
#include "2015/day21/aoc.h"
#include "2015/day22/aoc.h"
#include "2015/day23/aoc.h"
+#include "2015/day24/aoc.h"
#include "2015/day3/aoc.h"
#include "2015/day4/aoc.h"
#include "2015/day5/aoc.h"
@@ -241,3 +242,10 @@ TEST_CASE("Opening the Turing Lock", "[2015]") {
REQUIRE(255 == p.first);
REQUIRE(334 == p.second);
}
+
+TEST_CASE("", "[2015]") {
+ line_view lv = load_file("../src/2015/day24/input");
+ auto p = aoc2015::day24(lv);
+ REQUIRE(0 == p.first);
+ REQUIRE(0 == p.second);
+}