int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); test_create_destroy(); test_for_real_work(1); test_for_real_work(3); YAZ_CHECK_TERM; }
int main(void) { int errors = 0; errors += test_create_destroy(); errors += test_create_from_array_destroy(); errors += test_create_from_serialized_destroy(); errors += test_serialization_destruction(); errors += test_identical(); errors += test_intersecting_auth_fewer(); errors += test_intersecting_auth_more(); errors += test_non_intersecting(); if (errors > 0) { printf("FAILURE: %d errors\n",errors); } else { printf("SUCCESS\n"); } }