Macros | |
#define | num_tests (sizeof (tests) / sizeof (tests[0])) |
#define | SIZE (SET_DEFMAP_SIZE * sizeof (set_bits_t) * 8) |
Typedefs | |
typedef set_t *(* | op_func )(set_t *s1, const set_t *s2) |
typedef set_t *(* | setup_func )(void) |
typedef int(* | test_func )(const set_t *s1, const set_t *s2) |
Functions | |
int | main (int argc, const char **argv) |
Variables | |
struct { | |
op_func op | |
setup_func set1 | |
setup_func set2 | |
const char * str_expect | |
test_func test | |
int test_expect | |
} | tests [] |
#define SIZE (SET_DEFMAP_SIZE * sizeof (set_bits_t) * 8) |
typedef set_t*(* setup_func)(void) |
op_func op |
setup_func set1 |
setup_func set2 |
const char* str_expect |
test_func test |
int test_expect |
struct { ... } tests[] |