aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-08 14:21:44 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-08 14:21:44 +0800
commitc3a3e3fe4f98931a1de9ea198119a1f0bf71a320 (patch)
treef24ef2565476ba2818786fcfed045c169af3c314 /test/test_2022.cpp
parent33c75ac0c078bd50b560ea2f0361d8230585568f (diff)
downloadadvent-of-code-c3a3e3fe4f98931a1de9ea198119a1f0bf71a320.tar.gz
advent-of-code-c3a3e3fe4f98931a1de9ea198119a1f0bf71a320.zip
2022 day8
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 cbea8e9..3950399 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -61,9 +61,9 @@ TEST_CASE("No Space Left On Device", "[2022]") {
REQUIRE(2568781 == p.second);
}
-TEST_CASE("", "[2022]") {
+TEST_CASE("Treetop Tree House", "[2022]") {
line_view lv = load_file("../src/2022/day8/input");
auto p = aoc2022::day8(lv);
- REQUIRE(0 == p.first);
- REQUIRE(0 == p.second);
+ REQUIRE(1546 == p.first);
+ REQUIRE(519064 == p.second);
}