aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-12-01 22:00:30 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-12-01 22:00:30 +0800
commit91b8c863d02195ccdf448a0cd6baee633a6a155d (patch)
tree50fb347d6d8ea02ef36a3321ccaa3fb7000544ca /test
parent9bc0799a654ee25fa16bc70bee7772ea6c72928f (diff)
downloadadvent-of-code-91b8c863d02195ccdf448a0cd6baee633a6a155d.tar.gz
advent-of-code-91b8c863d02195ccdf448a0cd6baee633a6a155d.zip
2022 day1
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt1
-rw-r--r--test/test_2022.cpp7
2 files changed, 8 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 56d7fef..2e7a650 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -8,6 +8,7 @@ set(TEST_FILES
test_2019.cpp
test_2020.cpp
test_2021.cpp
+ test_2022.cpp
)
add_executable(aoc ${TEST_FILES})
diff --git a/test/test_2022.cpp b/test/test_2022.cpp
new file mode 100644
index 0000000..dbc8c3b
--- /dev/null
+++ b/test/test_2022.cpp
@@ -0,0 +1,7 @@
+#include "2022/day1/aoc.h"
+#include "catch.hpp"
+#include <stdio.h>
+
+TEST_CASE("Calorie Counting", "[2022]") {
+ // line_view lv = load_file("../src/2022/day1/input");
+}