|
@@ -28,8 +28,6 @@ int test_seq_read(const char *path, char **bufp, size_t *sizep);
|
|
|
void test_assert(bool exp, const char *exp_str,
|
|
|
const char *file, unsigned int line, const char *fmt, ...);
|
|
|
|
|
|
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
|
|
|
-
|
|
|
#define TEST_ASSERT(e, fmt, ...) \
|
|
|
test_assert((e), #e, __FILE__, __LINE__, fmt, ##__VA_ARGS__)
|
|
|
|