/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/unit_test.c

Go to the documentation of this file.
00001 #include <eh_utils.h>
00002 
00003 int test_utils       ( void );
00004 int test_grid        ( void );
00005 int test_project     ( void );
00006 int test_num         ( void );
00007 int test_symbol_table( void );
00008 int test_input_val   ( void );
00009 
00010 int main( void )
00011 {
00012    int n = 0;
00013 
00014    eh_init_glib();
00015 
00016    n += test_grid();
00017    n += test_project();
00018    n += test_num();
00019    n += test_symbol_table();
00020    n += test_input_val();
00021    n += test_utils();
00022    n += test_io();
00023 
00024    fprintf( stdout , "-----------------------------------\n\n" );
00025    if ( n==0 )
00026       fprintf( stdout , "All tests passed!\n\n" );
00027    else
00028       fprintf( stdout , "There were %d failures\n\n" , n );
00029    fprintf( stdout , "-----------------------------------\n" );
00030 
00031 
00032    return n;
00033 }

Generated on Fri Jan 4 18:04:15 2008 for sedflux by  doxygen 1.5.2