summaryrefslogtreecommitdiff
path: root/unittest/catch_main.cpp
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-14 14:01:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:34:34 +0200
commit5e72941919f19c43c1cd7f79c5cb913caf2705e4 (patch)
treed83ced389eb5a34bba49295fc8c250a586d8b3d7 /unittest/catch_main.cpp
parent6f2769cb57c06d4ee10532b80482b8610aae4f2b (diff)
downloadlibnitrokey-5e72941919f19c43c1cd7f79c5cb913caf2705e4.tar.gz
libnitrokey-5e72941919f19c43c1cd7f79c5cb913caf2705e4.tar.bz2
Test C API in C++ (Catch)
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/catch_main.cpp')
-rw-r--r--unittest/catch_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest/catch_main.cpp b/unittest/catch_main.cpp
new file mode 100644
index 0000000..c8270db
--- /dev/null
+++ b/unittest/catch_main.cpp
@@ -0,0 +1,2 @@
+#define CATCH_CONFIG_MAIN // This tells Catch to provide a main()
+#include "catch.hpp" \ No newline at end of file