summaryrefslogtreecommitdiffstats
path: root/tests/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helper.h')
-rw-r--r--tests/helper.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/helper.h b/tests/helper.h
new file mode 100644
index 0000000..b0f9449
--- /dev/null
+++ b/tests/helper.h
@@ -0,0 +1,26 @@
+#ifndef _HELPER_H_
+#define _HELPER_H_
+
+#include "Eiotas.h"
+
+#include <stdio.h>
+
+#include <eina_log.h>
+#include <eina_array.h>
+#include <eina_stringshare.h>
+
+#undef PRINTPTR
+#ifdef __clang__
+# define PRINTPTR(_p) (unsigned int)_p
+#else
+# define PRINTPTR(_p) (_p)
+#endif
+
+void check_cond(Eina_Bool cond, char *msg);
+void check_str(char *s0, char *s1, char *msg);
+
+void test_spin();
+void test_particle();
+void test_user_door();
+
+#endif // _HELPER_H_