Mercurial > MadButterfly
annotate src/testcase.c @ 1:b5c0162ccf69
Coordination tranforming
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 23 Jul 2008 13:57:33 +0800 |
parents | |
children | 9c331ec9e210 |
rev | line source |
---|---|
1 | 1 #include <CUnit/Basic.h> |
2 | |
3 extern CU_pSuite get_coord_suite(void); | |
4 | |
5 int | |
6 main(int argc, char * const argv[]) { | |
7 CU_pSuite suite; | |
8 | |
9 if(CU_initialize_registry() != CUE_SUCCESS) | |
10 return CU_get_error(); | |
11 | |
12 get_coord_suite(); | |
13 | |
14 CU_basic_set_mode(CU_BRM_VERBOSE); | |
15 CU_basic_run_tests(); | |
16 CU_cleanup_registry(); | |
17 | |
18 return CU_get_error(); | |
19 } |