Mercurial > MadButterfly
comparison src/testcase.c @ 5:9c331ec9e210
SVG path is partially supported
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 26 Jul 2008 01:37:35 +0800 |
parents | b5c0162ccf69 |
children | 79e9edf4c00a |
comparison
equal
deleted
inserted
replaced
4:399517bf65dc | 5:9c331ec9e210 |
---|---|
1 #include <CUnit/Basic.h> | 1 #include <CUnit/Basic.h> |
2 | 2 |
3 extern CU_pSuite get_coord_suite(void); | 3 extern CU_pSuite get_coord_suite(void); |
4 extern CU_pSuite get_geo_suite(void); | |
5 extern CU_pSuite get_shape_path_suite(void); | |
4 | 6 |
5 int | 7 int |
6 main(int argc, char * const argv[]) { | 8 main(int argc, char * const argv[]) { |
7 CU_pSuite suite; | 9 CU_pSuite suite; |
8 | 10 |
9 if(CU_initialize_registry() != CUE_SUCCESS) | 11 if(CU_initialize_registry() != CUE_SUCCESS) |
10 return CU_get_error(); | 12 return CU_get_error(); |
11 | 13 |
12 get_coord_suite(); | 14 get_coord_suite(); |
15 get_geo_suite(); | |
16 get_shape_path_suite(); | |
13 | 17 |
14 CU_basic_set_mode(CU_BRM_VERBOSE); | 18 CU_basic_set_mode(CU_BRM_VERBOSE); |
15 CU_basic_run_tests(); | 19 CU_basic_run_tests(); |
16 CU_cleanup_registry(); | 20 CU_cleanup_registry(); |
17 | 21 |