diff options
author | kaiwu <kaiwu2004@gmail.com> | 2022-04-06 22:16:28 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2022-04-06 22:16:28 +0800 |
commit | 8525575cdb87fc0b265525537635d0aafaada76c (patch) | |
tree | 58431532801bf0e1a007149d6788dc6218a258bf /test/test_2019.cpp | |
parent | d98f48eb780f51ee146b316b5ddf7ebd0bea6019 (diff) | |
download | advent-of-code-8525575cdb87fc0b265525537635d0aafaada76c.tar.gz advent-of-code-8525575cdb87fc0b265525537635d0aafaada76c.zip |
2019 day3 part1
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r-- | test/test_2019.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp index 30c80c2..f64778b 100644 --- a/test/test_2019.cpp +++ b/test/test_2019.cpp @@ -17,3 +17,8 @@ TEST_CASE("1202 Program Alarm", "[2019]") { REQUIRE(11590668 == p.first); REQUIRE(2254 == p.second); } + +TEST_CASE("Crossed Wires", "[2019]") { + line_view lv = load_file("../src/2019/day3/input"); + REQUIRE(266 == aoc2019::day3(lv)); +} |