summaryrefslogtreecommitdiff
path: root/test/test.c
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-03 18:40:59 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-03 18:40:59 +0100
commit51c05fe7b5d6518bfb8a07ee3ec3c072bb21163e (patch)
tree92a52dc4849fbeb2566f8e87a88ff3ec02e5f75e /test/test.c
downloadstring2-51c05fe7b5d6518bfb8a07ee3ec3c072bb21163e.tar.gz
string2-51c05fe7b5d6518bfb8a07ee3ec3c072bb21163e.zip
Initial commit
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
new file mode 100644
index 0000000..a47adb6
--- /dev/null
+++ b/test/test.c
@@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+
+/* See LICENSE file for copyright and license details. */
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void
+asserti(int expected, int value)
+{
+ if (expected != value) {
+ exit(1);
+ }
+}