blob: b03a3b23183facdd47fd6f8905ea57386976726a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#define KIT_TEST_IMPLEMENTATION
#define KIT_TESTS_SIZE_LIMIT 40
#include "../kit/kit_test.h"
void bar(int index, kit_test_report_fn report) { }
int main(int argc, char **argv) {
int i;
for (i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++)
test_register("foo", __FILE__, bar);
if (run_tests(argc, argv) != 1)
return 1;
return 0;
}
#undef KIT_TEST_FILE
|