aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 67e25f0..7955ede 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -1,5 +1,9 @@
#include "catch.hpp"
+#include "2015/day1/aoc.h"
+#include <stdio.h>
-TEST_CASE("", "[]") {
-
+TEST_CASE("Not Quite Lisp", "[]") {
+ line_view lv = load_file("../src/2015/day1/input");
+ REQUIRE(aoc2015::day1(lv) == 74);
+ REQUIRE(aoc2015::day1(lv, -1) == 1795);
}