aboutsummaryrefslogtreecommitdiff
path: root/test/test_2019.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r--test/test_2019.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp
index 287f50e..4440911 100644
--- a/test/test_2019.cpp
+++ b/test/test_2019.cpp
@@ -2,6 +2,9 @@
#include "catch.hpp"
#include <stdio.h>
-TEST_CASE("", "[2019]") {
- // line_view lv = load_file("../src/2019/day1/input");
+TEST_CASE("The Tyranny of the Rocket Equation", "[2019]") {
+ line_view lv = load_file("../src/2019/day1/input");
+ REQUIRE(3471229 == aoc2019::day1(lv));
+ REQUIRE(5203967 == aoc2019::day1part2(lv));
+ REQUIRE(50346 == aoc2019::day1part2("100756"));
}