From edb8c6114a20b806c56dd0225dd39e333ffb3ac3 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 22 Dec 2021 00:27:43 -0600 Subject: re-implement basic lily_assert_msg() macro --- tests/tests.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/tests.h') 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 -- cgit v1.2.1