diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 16:39:14 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 16:39:14 +0200 |
commit | 4bc1b68caf1165222b7ea4080144547d388d17eb (patch) | |
tree | f54132649202d1acfb11730d0dce9d648f5b1efa /tests/helper.h | |
parent | e6a53fa2a651ec15b5a2b7c5ed70af421660ca7a (diff) | |
download | edoors-4bc1b68caf1165222b7ea4080144547d388d17eb.zip edoors-4bc1b68caf1165222b7ea4080144547d388d17eb.tar.gz |
split and complete tests
Diffstat (limited to 'tests/helper.h')
-rw-r--r-- | tests/helper.h | 26 |
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_ |