summaryrefslogtreecommitdiff
path: root/src/tests/test.h
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-12 18:33:52 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-29 14:17:03 +0500
commitd16a1385efe911b1683e390f672cadee78b842be (patch)
tree9c4a5e8a01952befa6b48c8fee4bd7471dbf421f /src/tests/test.h
parentb1b2586afa06105291355a19f581016c347463bc (diff)
test system
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