summaryrefslogtreecommitdiffstats
path: root/tests/helper.c
blob: a59431875e77bba5e4c9ad2c3f5ee14c5c007f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#include "helper.h"

void check_cond(Eina_Bool cond, char *msg) {
    if(!cond) {
        EINA_LOG_DOM_ERR(_edoors_log_dom,"%s",msg);
    }
}

void check_str(char *s0, char *s1, char *msg) {
    if(strcmp(s0,s1)!=0) {
        EINA_LOG_DOM_ERR(_edoors_log_dom,"%s => %s != %s\n",msg,s0,s1);
    }
}