diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-14 17:42:36 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-14 17:42:36 +0800 |
commit | c277bc6e370bc5ee8899055a112978c76c1e7b19 (patch) | |
tree | 9248639ece99a264d0511670b79bbc6d77c7e950 /test/test_2022.cpp | |
parent | 0b9455faebaf32549f0524a93d24bcadb06dfc24 (diff) | |
download | advent-of-code-c277bc6e370bc5ee8899055a112978c76c1e7b19.tar.gz advent-of-code-c277bc6e370bc5ee8899055a112978c76c1e7b19.zip |
2022 day15 setup
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r-- | test/test_2022.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp index 0ba594d..48dcb7e 100644 --- a/test/test_2022.cpp +++ b/test/test_2022.cpp @@ -12,6 +12,7 @@ #include "2022/day12/aoc.h" #include "2022/day13/aoc.h" #include "2022/day14/aoc.h" +#include "2022/day15/aoc.h" #include "catch.hpp" #include <stdio.h> #include <string.h> @@ -116,3 +117,10 @@ TEST_CASE("Regolith Reservoir", "[2022]") { REQUIRE(24 == p.first); REQUIRE(0 == p.second); } + +TEST_CASE("", "[2022]") { + line_view lv = load_file("../src/2022/day15/input0"); + auto p = aoc2022::day15(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} |