Go to the documentation of this file.
7 #ifndef _CEPTR_TEST_UTILS_H
8 #define _CEPTR_TEST_UTILS_H
10 #include "../src/ceptr.h"
12 void wjson(
SemTable *sem,
T *t,
char *n,
int i);
13 void dump2json(
SemTable *sem,
T *t,
char *n);
14 T *makeDelta(
Symbol sym,
int *path,
T *t,
int count);
15 void _visdump(
SemTable *sem,
T *x,
int *path);
17 void _test_reduce_signals(
Receptor *r);
18 char *doSys(
char *cmd);
20 #define startVisdump(n) G_visdump_fn = n;G_visdump_count = 1;
21 #define endVisdump() G_visdump_count = 0;
27 #define sYt(name,str) name = _d_define_symbol(G_sem,str,"" #name "",TEST_CONTEXT)
28 #define sX(name,str) Symbol name = _d_define_symbol(G_sem,str,"" #name "",TEST_CONTEXT)