diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/testcase.c	Wed Jul 23 13:57:33 2008 +0800
@@ -0,0 +1,19 @@
+#include <CUnit/Basic.h>
+
+extern CU_pSuite get_coord_suite(void);
+
+int
+main(int argc, char * const argv[]) {
+    CU_pSuite suite;
+
+    if(CU_initialize_registry() != CUE_SUCCESS)
+	return CU_get_error();
+
+    get_coord_suite();
+
+    CU_basic_set_mode(CU_BRM_VERBOSE);
+    CU_basic_run_tests();
+    CU_cleanup_registry();
+
+    return CU_get_error();
+}