aboutsummaryrefslogtreecommitdiff
path: root/test/test_2021.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r--test/test_2021.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp
index 73476dd..0fdad64 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -18,3 +18,8 @@ TEST_CASE("Dive!", "[2021]") {
REQUIRE(1762050 == p.first);
REQUIRE(1855892637 == p.second);
}
+
+TEST_CASE("Binary Diagnostic", "[2021]") {
+ line_view lv = load_file("../src/2021/day3/input");
+ REQUIRE(3885894 == aoc2021::day3(lv));
+}