summaryrefslogtreecommitdiff
path: root/source/test/programs/cpp_example.cpp
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 22:11:35 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-09 22:11:35 +0400
commit714991aa76a2db4632da7e8031b27a70099a579c (patch)
treef30fa12751a492ef055002fadde8f9cc5392ed91 /source/test/programs/cpp_example.cpp
parent487876477507038067ad3f019d58c257fc06dfda (diff)
downloadkit-714991aa76a2db4632da7e8031b27a70099a579c.zip
Rename C++ test
Diffstat (limited to 'source/test/programs/cpp_example.cpp')
-rw-r--r--source/test/programs/cpp_example.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/test/programs/cpp_example.cpp b/source/test/programs/cpp_example.cpp
new file mode 100644
index 0000000..ca0b4c7
--- /dev/null
+++ b/source/test/programs/cpp_example.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);
+}