view 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 source

#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();
}