aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-16 13:07:30 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-16 13:07:30 +0800
commit9a6749cf23a125362da50008c83b4be1b28dadb2 (patch)
tree3d21ac5febdb85740dd55d8dce0e4888aed69c53 /test/test_2022.cpp
parentcc494ac68dbd8f37972c5a56b2259ac7d9d975b2 (diff)
downloadadvent-of-code-9a6749cf23a125362da50008c83b4be1b28dadb2.tar.gz
advent-of-code-9a6749cf23a125362da50008c83b4be1b28dadb2.zip
2022 day16 setup
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index f8fb354..9f14b5f 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -13,6 +13,7 @@
#include "2022/day13/aoc.h"
#include "2022/day14/aoc.h"
#include "2022/day15/aoc.h"
+#include "2022/day16/aoc.h"
#include "catch.hpp"
#include <stdio.h>
#include <string.h>
@@ -123,3 +124,10 @@ TEST_CASE("Beacon Exclusion Zone", "[2022]") {
REQUIRE(6078701 == p.first);
REQUIRE(0 == p.second);
}
+
+TEST_CASE("Proboscidea Volcanium", "[2022]") {
+ line_view lv = load_file("../src/2022/day16/input");
+ auto p = aoc2022::day16(lv);
+ REQUIRE(0 == p.first);
+ REQUIRE(0 == p.second);
+}