int main() { test_bool_vals(); test_bool_ops(); test_cmp_ops(); test_arithmetic(); test_attr(); test_param(); test_compound(); test_conv(); return 0; }
/*------------------------------------------------------------------------- * the main program *------------------------------------------------------------------------- */ int main( void ) { int nerrors=0; /* test dataset functions */ nerrors += test_dsets(); /* test attribute functions */ nerrors += test_attr(); /* test text-dtype functions */ nerrors += test_text_dtype(); /* check for errors */ if (nerrors) goto error; return 0; error: return 1; }