diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-02 10:33:00 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-02 10:33:00 +0800 |
commit | 6ae048cc3a3ea6e46db3ed70e744238899799bed (patch) | |
tree | 896112e714b5d7c8d426b99ad73453a657af59ce /test/test_2022.cpp | |
parent | 91b8c863d02195ccdf448a0cd6baee633a6a155d (diff) | |
download | advent-of-code-6ae048cc3a3ea6e46db3ed70e744238899799bed.tar.gz advent-of-code-6ae048cc3a3ea6e46db3ed70e744238899799bed.zip |
2022 day1
Diffstat (limited to 'test/test_2022.cpp')
-rw-r--r-- | test/test_2022.cpp | 5 |
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); } |