aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-17 10:45:55 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-17 10:45:55 +0800
commit8749bd4dfcfc86f2f99b5480ec0c289166da8c15 (patch)
tree8eded5fddbd2c4ce5dd712e0d7d91c94c36a2c77 /test/test_2022.cpp
parent5ef6bab90d7e268ef6831ca0c05a9aa8fba4d3e2 (diff)
downloadadvent-of-code-8749bd4dfcfc86f2f99b5480ec0c289166da8c15.tar.gz
advent-of-code-8749bd4dfcfc86f2f99b5480ec0c289166da8c15.zip
2022 day17 setup
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index 04be125..ba5ebef 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -14,6 +14,7 @@
#include "2022/day14/aoc.h"
#include "2022/day15/aoc.h"
#include "2022/day16/aoc.h"
+#include "2022/day17/aoc.h"
#include "catch.hpp"
#include <stdio.h>
#include <string.h>
@@ -125,9 +126,16 @@ TEST_CASE("Beacon Exclusion Zone", "[2022]") {
REQUIRE(0 == p.second);
}
-TEST_CASE("Proboscidea Volcanium", "[2022]") {
- line_view lv = load_file("../src/2022/day16/input0");
- auto p = aoc2022::day16(lv);
+//TEST_CASE("Proboscidea Volcanium", "[2022]") {
+// line_view lv = load_file("../src/2022/day16/input0");
+// auto p = aoc2022::day16(lv);
+// REQUIRE(0 == p.first);
+// REQUIRE(0 == p.second);
+//}
+
+TEST_CASE("", "[2022]") {
+ line_view lv = load_file("../src/2022/day17/input0");
+ auto p = aoc2022::day17(lv);
REQUIRE(0 == p.first);
REQUIRE(0 == p.second);
}