summaryrefslogtreecommitdiff
path: root/src/tests/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test.h')
-rw-r--r--src/tests/test.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tests/test.h b/src/tests/test.h
new file mode 100644
index 0000000..d2c4aeb
--- /dev/null
+++ b/src/tests/test.h
@@ -0,0 +1,16 @@
+#ifndef TESTS_H
+#define TESTS_H
+
+typedef struct {
+ char *Name;
+ // The test function. If it returns an error message
+ // the test is concidered as failed
+ char *(*Function)();
+} UnitTest;
+
+// ========== TESTS ==========
+
+char *ArenaAllocation();
+char *ArenaOutOfMemory();
+
+#endif // TESTS_H