diff options
author | sanine <sanine.not@pm.me> | 2021-12-22 00:27:43 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2021-12-22 00:27:43 -0600 |
commit | edb8c6114a20b806c56dd0225dd39e333ffb3ac3 (patch) | |
tree | 00ac174b41c0979a9c482e0cf68879341d4b7de0 /tests/tests.h | |
parent | 7634dd65ac55a0fe4e7ed69cee7e3957f574a03e (diff) |
re-implement basic lily_assert_msg() macro
Diffstat (limited to 'tests/tests.h')
-rw-r--r-- | tests/tests.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tests.h b/tests/tests.h index cbe0f02..7b3dc48 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -1,7 +1,12 @@ #ifndef LILY_META_TESTS_H #define LILY_META_TESTS_H -void run_test(const char *name, const char* (*fp)()); +void run_test(const char *name, const char* (*test)()); int validate_message(const char* received, const char* expected, const char* FILE, unsigned int LINE); + +// test cases +const char* basic_assertion(); + + #endif |