diff options
Diffstat (limited to 'test/test_2020.cpp')
-rw-r--r-- | test/test_2020.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_2020.cpp b/test/test_2020.cpp index 67ee4c9..3712327 100644 --- a/test/test_2020.cpp +++ b/test/test_2020.cpp @@ -65,3 +65,10 @@ TEST_CASE("Handheld Halting", "[2020]") { REQUIRE(1814 == p.first); REQUIRE(1056 == p.second); } + +TEST_CASE("Encoding Error", "[2020]") { + line_view lv = load_file("../src/2020/day9/input"); + auto p = aoc2020::day9(lv); + REQUIRE(22477624 == p.first); + // REQUIRE(0 == p.second); +} |