aboutsummaryrefslogtreecommitdiff
path: root/test/test_2020.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-17 12:01:02 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-17 12:01:02 +0800
commit0d390f7adf2790a154fcfb7ff8e1bbac5b13611c (patch)
treebb6c1bfa5137ed62ba50b334d57c2c9cb49e0f94 /test/test_2020.cpp
parentd8ae7408506fa54f698c5d0538883be1dfa44bd6 (diff)
downloadadvent-of-code-0d390f7adf2790a154fcfb7ff8e1bbac5b13611c.tar.gz
advent-of-code-0d390f7adf2790a154fcfb7ff8e1bbac5b13611c.zip
2020 day6 part1
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r--test/test_2020.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp
index fd38eab..10668df 100644
--- a/test/test_2020.cpp
+++ b/test/test_2020.cpp
@@ -41,3 +41,8 @@ TEST_CASE("Binary Boarding", "[2020]") {
line_view lv = load_file("../src/2020/day5/input");
REQUIRE(842 == aoc2020::day5(lv));
}
+
+TEST_CASE("Custom Customs", "[2020]") {
+ line_view lv = load_file("../src/2020/day6/input");
+ REQUIRE(7120 == aoc2020::day6(lv));
+}