• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 struct test_result {
3 	unsigned int test_count;
4 	unsigned int pass;
5 	unsigned int fail;
6 };
7 
8 struct test {
9 	const char * name;
10 	void (*test_func)(struct test_result * result);
11 	struct test_result result;
12 };
13 
14 void run_tests(struct test tests[]);
15 
16 void test_begin(struct test_result * result);
17 void test_check(struct test_result * result, int cond);
18