#ifndef TEST_H
#define TEST_H

#include <covsrv/covsrv.h>

#define cover_ptr(name, ...) ({covsrv_die() ? NULL : name (__VA_ARGS__);})

#define mallocc(...) cover_ptr(malloc, __VA_ARGS__)
#define callocc(...) cover_ptr(calloc, __VA_ARGS__)
#define reallocc(...) cover_ptr(realloc, __VA_ARGS__)

#ifndef ITER
#define ITER 1000000
#endif

#endif /* TEST_H */
