summaryrefslogtreecommitdiff
path: root/source/test/programs/cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/programs/cpp.cpp')
-rw-r--r--source/test/programs/cpp.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/test/programs/cpp.cpp b/source/test/programs/cpp.cpp
new file mode 100644
index 0000000..ca0b4c7
--- /dev/null
+++ b/source/test/programs/cpp.cpp
@@ -0,0 +1,13 @@
+#include "../../kit_test/test.h"
+
+TEST("foo") {
+ REQUIRE(20 + 22 == 42);
+}
+
+TEST("bar") {
+ REQUIRE(true);
+}
+
+auto main(int argc, char **argv) -> int {
+ return run_tests(argc, argv);
+}