aboutsummaryrefslogtreecommitdiff
path: root/test/test_2021.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-04-07 19:54:27 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-04-07 19:54:27 +0800
commit59bcc4cb9d065734b532958bbd64f36159ca7a43 (patch)
tree005c957d2c23381940b96fd5223bacc2e34a72ed /test/test_2021.cpp
parent1335ce58eb9826e8c5a60cae8a9834083b8895a0 (diff)
downloadadvent-of-code-59bcc4cb9d065734b532958bbd64f36159ca7a43.tar.gz
advent-of-code-59bcc4cb9d065734b532958bbd64f36159ca7a43.zip
2021 day3
Diffstat (limited to 'test/test_2021.cpp')
-rw-r--r--test/test_2021.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_2021.cpp b/test/test_2021.cpp
index 0fdad64..d2423cc 100644
--- a/test/test_2021.cpp
+++ b/test/test_2021.cpp
@@ -21,5 +21,8 @@ TEST_CASE("Dive!", "[2021]") {
TEST_CASE("Binary Diagnostic", "[2021]") {
line_view lv = load_file("../src/2021/day3/input");
- REQUIRE(3885894 == aoc2021::day3(lv));
+ // line_view lv = load_file("../src/2021/day3/input0");
+ auto p = aoc2021::day3(lv);
+ REQUIRE(3885894 == p.first);
+ REQUIRE(4375225 == p.second);
}