aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-15 18:09:56 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-15 18:09:56 +0800
commitd96f65b6b51b78ddd9f51896ea99c8010ed77812 (patch)
treecd245be03f67a4c6b139745ab7e02a6006100634 /test/test_2022.cpp
parent363e289eb2b54757e52dc93efa3090c763a8aa39 (diff)
downloadadvent-of-code-d96f65b6b51b78ddd9f51896ea99c8010ed77812.tar.gz
advent-of-code-d96f65b6b51b78ddd9f51896ea99c8010ed77812.zip
2022 day15 part1
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index 8d80b5f..f8fb354 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -117,9 +117,9 @@ TEST_CASE("Regolith Reservoir", "[2022]") {
REQUIRE(27566 == p.second);
}
-TEST_CASE("", "[2022]") {
- line_view lv = load_file("../src/2022/day15/input0");
+TEST_CASE("Beacon Exclusion Zone", "[2022]") {
+ line_view lv = load_file("../src/2022/day15/input");
auto p = aoc2022::day15(lv);
- REQUIRE(0 == p.first);
+ REQUIRE(6078701 == p.first);
REQUIRE(0 == p.second);
}