summary refs log tree commit diff stats
path: root/src/doctest.c
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2019-10-25 18:37:26 -0300
committerSoniEx2 <endermoneymod@gmail.com>2019-10-25 18:37:26 -0300
commitf6b8e76789e428ac264a393fbd60d77499b9abfd (patch)
tree00071db51e3ceb86e2fbce81c55ee136b5ae7ff8 /src/doctest.c
parent9d4e28d4265a6a293b18a68ec4d51a4b086b20fa (diff)
Add doc/test framework. HEAD default
Diffstat (limited to 'src/doctest.c')
-rw-r--r--src/doctest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doctest.c b/src/doctest.c
new file mode 100644
index 0000000..34646c1
--- /dev/null
+++ b/src/doctest.c
@@ -0,0 +1,9 @@
+/*
+ * Doctest generation. See doctest.h for more information.
+ */
+#include "doctest.h"
+
+/* This is unusual, but it works. */
+#ifdef DOCTEST
+#include "doc.c"
+#endif