summaryrefslogtreecommitdiff
path: root/tests/tests.h
blob: ca72b4aa80ead0c66a6437f5a98629ea7661c343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef LILY_META_TESTS_H
#define LILY_META_TESTS_H

#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* test_LILY_LOCATION();
const char* test_assert_msg();
const char* test_assert_true();
const char* test_assert_false();
#endif