summaryrefslogtreecommitdiff
path: root/tests/tests.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-12-25 23:12:46 -0600
committersanine <sanine.not@pm.me>2021-12-25 23:12:46 -0600
commit9c4bd59002109c850dda3ab79febc17f7f0367e9 (patch)
tree78444546c972a4317cc7da0e20bdecb9101f7587 /tests/tests.h
parent82009d685f48e95d58e0eaaf16f2bfc260e172ab (diff)
begin refactor to two-file library
Diffstat (limited to 'tests/tests.h')
-rw-r--r--tests/tests.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.h b/tests/tests.h
index e1d7e04..eab0115 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -1,12 +1,12 @@
#ifndef LILY_META_TESTS_H
#define LILY_META_TESTS_H
-void run_test(const char *name, const char* (*test)());
+#define run_test(test) _run_test(#test, test)
+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();
-const char* assert_equal();
+const char* test_LILY_LOCATION();
#endif