diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-05-09 15:03:28 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-05-09 15:03:28 +0800 |
commit | dca2e70a10b7928c8a73f73d5dc7ef74f9001005 (patch) | |
tree | c63729b19e4f78df3634fd8691f75f8533441523 /test/test_2016.cpp | |
parent | 7c3b65e0e91161526c5f8d6feebef1199709c6a8 (diff) | |
download | advent-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.cpp | 6 |
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); +} |