aboutsummaryrefslogtreecommitdiff
path: root/test/test_2022.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r--test/test_2022.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
index dbc8c3b..e9c14cc 100644
--- a/test/test_2022.cpp
+++ b/test/test_2022.cpp
@@ -3,5 +3,8 @@
#include <stdio.h>
TEST_CASE("Calorie Counting", "[2022]") {
- // line_view lv = load_file("../src/2022/day1/input");
+ line_view lv = load_file("../src/2022/day1/input");
+ auto p = aoc2022::day1(lv);
+ REQUIRE(69693 == p.first);
+ REQUIRE(200945 == p.second);
}