aboutsummaryrefslogtreecommitdiff
path: root/test/test_2016.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-05-09 15:03:28 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-05-09 15:03:28 +0800
commitdca2e70a10b7928c8a73f73d5dc7ef74f9001005 (patch)
treec63729b19e4f78df3634fd8691f75f8533441523 /test/test_2016.cpp
parent7c3b65e0e91161526c5f8d6feebef1199709c6a8 (diff)
downloadadvent-of-code-dca2e70a10b7928c8a73f73d5dc7ef74f9001005.tar.gz
advent-of-code-dca2e70a10b7928c8a73f73d5dc7ef74f9001005.zip
2016 day8 part1
Diffstat (limited to 'test/test_2016.cpp')
-rw-r--r--test/test_2016.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_2016.cpp b/test/test_2016.cpp
index 4852cee..c61f26f 100644
--- a/test/test_2016.cpp
+++ b/test/test_2016.cpp
@@ -61,3 +61,9 @@ TEST_CASE("Internet Protocol Version 7", "[2016]") {
REQUIRE(115 == p.first);
REQUIRE(231 == p.second);
}
+
+TEST_CASE("Two-Factor Authentication", "[2016]") {
+ line_view lv = load_file("../src/2016/day8/input");
+ auto p = aoc2016::day8(lv);
+ REQUIRE(0 == p);
+}