summaryrefslogtreecommitdiffstats
path: root/tests/helper.h
blob: b0f9449f39e0aaa81611c84171b8c7cbcf0453f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_