diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-12-05 10:39:52 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-12-05 10:39:52 +0800 |
commit | c2820ed7b706a580bc60a74a0d2af806ca57f501 (patch) | |
tree | a2907a324fe94f7efbfd9fc2667a1d2c07019f72 /test/test_2022.cpp | |
parent | baf9117b3f11a03f21f37a5abb3ef105dff4652f (diff) | |
download | advent-of-code-c2820ed7b706a580bc60a74a0d2af806ca57f501.tar.gz advent-of-code-c2820ed7b706a580bc60a74a0d2af806ca57f501.zip |
2021 day9 part2
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 d93f690..3dfa704 100644 --- a/test/test_2022.cpp +++ b/test/test_2022.cpp @@ -2,6 +2,7 @@ #include "2022/day2/aoc.h" #include "2022/day3/aoc.h" #include "2022/day4/aoc.h" +#include "2022/day5/aoc.h" #include "catch.hpp" #include <stdio.h> @@ -32,3 +33,10 @@ TEST_CASE("Camp Cleanup", "[2022]") { REQUIRE(431 == p.first); REQUIRE(823 == p.second); } + +TEST_CASE("", "[2022]") { + line_view lv = load_file("../src/2022/day5/input"); + auto p = aoc2022::day5(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} |