summaryrefslogtreecommitdiffstats
path: root/tests/helper.h
blob: f5825a876b6f735085fdb3568beeab9332a7bf0a (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 "Edoors.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_