void ft_bzero_test(void) { puts(""); puts("ft_bzero:"); test_1(); test_2(); }
static void test_1(duk_context *ctx, int fmt_len, ...) { va_list ap; va_start(ap, fmt_len); test_2(ctx, fmt_len, ap); va_end(ap); }
int main(int argc, char **argv) { // backlight on DDRD |= (1<<0); PORTD |= (1<<0); MCUSR &= ~_BV(WDRF); wdt_disable(); LCDG_InitPort(); _delay_ms(30); // takes longer? LCDG_InitLcd(); LCDG_ClrAllDisp(); terminal__init(); // TX as out DDRD |= (1<<3); // RTS as out DDRD |= (1<<6); print_result(PSTR("RTS=0 TX=0 RX=0"), test_1()); print_result(PSTR("RTS=0 TX=1 RX=1"), test_2()); print_result(PSTR("RTS=1 TX=0 RX=0"), test_3()); print_result(PSTR("RTS=1 TX=1 RX=0"), test_4()); while(1); return 0; }
inline int _query(int p) { query_info.similar_score=0; query_info.similar_score+=test_1(query_info)*0.5; see(query_info.similar_score); query_info.similar_score+=test_2(query_info)*0.5; see(query_info.similar_score); }
int main(int argc, char **argv) { test_1(); test_2(); return 0; }
int main() { std::cout << "Test 2D linear least squares fitting of triangles" << std::endl; test_1(); test_2(); return 0; // success }
void ft_strdup_test(void) { puts(""); puts("ft_strdup:"); test_1(); test_2(); }
int main(int argc, char *argv[]) { int iRC; iRC=EXIT_SUCCESS; if (argc != 1) { fprintf(stderr, "Usage: %s\n", argv[0]); iRC=EXIT_FAILURE; exit(iRC); } if (test_1())exit(1); if (test_2())exit(1); if (test_3())exit(1); if (test_4())exit(1); if (test_5())exit(1); if (test_6())exit(1); if (test_7())exit(1); if (test_8())exit(1); if (test_9())exit(1); if (test_10())exit(1); exit(iRC); }
void main() { FILE *output; char buf[5]; output = stderr; /* direct output to a stream */ fprintf(output, "\n\n" "DATETEST.C By Michael W. Maher 10/13/92\n" "Testing DATECONV.C C functions...\n\n"); /* Tests days_in_month() function. */ fprintf(output, "TEST #%d: %s\n", 1, testout(test_1(output), buf)); /* Tests the days_to_date() function. */ fprintf(output, "TEST #%d: %s\n", 2, testout(test_2(output), buf)); /* Test the months_to_date() function. */ fprintf(output, "TEST #%d: %s\n", 3, testout(test_3(output), buf)); /* Test the days_elapsed() function. */ fprintf(output, "TEST #%d: %s\n", 4, testout(test_4(output), buf)); /* Test Julian / Gregorian date conversion functions. */ fprintf(output, "TEST #%d: %s\n", 5, testout(test_5(output), buf)); return; }
void ft_isblank_test(void) { puts(""); puts("ft_isblank:"); test_1(); test_2(); test_3(); }
int main (void) { g_type_init (); return (test_1 () + test_2 ()); }
int main(void) { pid_t pid = fork(); assert(pid >= 0); if (!pid) { test_start_listener(); } else { test_tid_save_and_clear(); //wait for server to start test_start_client(); //test1..n test_subject_api(); test_2(); test_2(); test_2(); test_2(); test_subject_api(); test_subject_api(); int sz = 20000; oe_time start = oec_get_time_milliseconds(); for (int i = 0; i < sz; i++) { test_2(); } oe_time stop = oec_get_time_milliseconds(); oe_time dur = stop - start; OE_ILOG(NULL, "oenet t2 dur: %lld size: %d\n", dur, sz ); test_start_client(); test_start_client(); test_start_client(); test_sock_client(); usleep(10000); //cleanup test_stop_listener(); } return 0; }
void ft_cat_test(void) { puts(""); puts("ft_cat:"); test_1(); test_2(); test_3(); }
void ft_isalnum_test(void) { puts(""); puts("ft_isalnum:"); test_1(); test_2(); test_3(); }
void ft_isprint_test(void) { puts(""); puts("ft_isprint:"); test_1(); test_2(); test_3(); }
int main() { test_1(); test_2(); test_3(); return 0; }
int main(int argc, char const *argv[]) { test_1(); test_2(); test_3(); test_4(); return 0; }
/*------------------------------------------------------------------------- * Function: main * * Purpose: Runs external dataset tests. * * Return: Success: exit(0) * * Failure: exit(non-zero) * * Programmer: Robb Matzke * Tuesday, March 3, 1998 * * Modifications: * *------------------------------------------------------------------------- */ int main (void) { hid_t fapl=-1; /*file access properties */ hid_t file=-1; /*file for test_1* functions */ char filename[1024]; /*file name for test_1* funcs */ hid_t grp=-1; /*group to emit diagnostics */ int nerrors=0; /*number of errors */ h5_reset(); fapl = h5_fileaccess(); h5_fixname(FILENAME[0], fapl, filename, sizeof filename); if((file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0) FAIL_STACK_ERROR if((grp = H5Gcreate2(file, "emit-diagnostics", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR if(H5Gclose(grp) < 0) goto error; nerrors += test_1a(file); nerrors += test_1b(file); nerrors += test_1c(file); nerrors += test_1d(file); nerrors += test_1e(file); nerrors += test_1f(file); nerrors += test_1g(); nerrors += test_1h(); nerrors += test_2(fapl); nerrors += test_3(fapl); nerrors += test_4(fapl); /* Verify symbol table messages are cached */ nerrors += (h5_verify_cached_stabs(FILENAME, fapl) < 0 ? 1 : 0); if (nerrors>0) goto error; if (H5Fclose(file) < 0) goto error; puts("All external storage tests passed."); if (h5_cleanup(FILENAME, fapl)) { remove("extern_1a.raw"); remove("extern_1b.raw"); remove("extern_2a.raw"); remove("extern_2b.raw"); remove("extern_3a.raw"); remove("extern_3b.raw"); remove("extern_4a.raw"); remove("extern_4b.raw"); } return 0; error: H5E_BEGIN_TRY { H5Fclose(file); H5Pclose(fapl); } H5E_END_TRY; nerrors = MAX(1, nerrors); printf ("%d TEST%s FAILED.\n", nerrors, 1==nerrors?"":"s"); return 1; }
int main() { printf("Test 1\n"); test_1(); printf("Test 2\n"); test_2(); printf("Test 3\n"); test_3(); printf("Test 4\n"); test_4(); }
int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); // test_1(&a); test_2(); return a.exec(); }
// // The Main function just runs the tests above. // bool Timer_tests() { std::cout << "Class Timer test program (2006-02-10)\n" << std::endl; test_1(); test_2(); test_3(); return true; }
void test(int N) { test_1(N); test_2(N); test_3(N); test_4(N); test_5(N); test_6(N); test_7(N); test_8(N); }
int main() { printf("%i\n", overhead); test_1(); test_2(); test_3(); test_4(); test_5(); menu(); return 0; }
/* Main program */ int main (void) { printf("Test 1 (write a byte): "); test_1(); printf("Test 2 (write 1-byte utf-8): "); test_2(); printf("Test 3 (write 2-byte utf-8): "); test_3(); printf("Test 4 (write 3+4-byte utf-8): "); test_4(); printf("Test 5 (read a byte): "); test_5(); printf("Test 6 (read 1-byte utf-8): "); test_6(); printf("Test 7 (read 2-byte utf-8): "); test_7(); printf("Test 8 (read 3+4-byte utf-8): "); test_8(); return 0; }
void test_wsdl_main_request(const axutil_env_t* env) { axis2_char_t* wsdl_location = WSDL_FOLDER; axis2_char_t* xslt_location = XSLT_FOLDER; test_1(env, wsdl_location, xslt_location); test_2(env, wsdl_location, xslt_location); test_3(env, wsdl_location, xslt_location); test_4(env, wsdl_location, xslt_location); test_5(env, wsdl_location, xslt_location); }
static void test_sllist(void) { test_1(); test_2(); test_3(); test_4(); test_5(); test_6(); test_8(); test_9(); test_10(); test_11(); }
int main() { if (test_generic() == EXIT_SUCCESS && test_1() == EXIT_SUCCESS && test_2() == EXIT_SUCCESS && test_5() == EXIT_SUCCESS && test_unhandled() == EXIT_SUCCESS) { return EXIT_SUCCESS; } else { return EXIT_FAILURE; } }
int main (int argc, char *argv[]) { bft_mem_init(getenv("FVM_MEM_TRACE")); test_1(); test_2(); bft_mem_end(); exit (EXIT_SUCCESS); }
int main() { std::cout << "Test 2D linear least squares fitting of segments" << std::endl; test_1(); test_2(); test_3(); test_4(); test_5(20); // test_2D_point_set(100); return 0; // success }
int main(){ printf("Pass: 1, Fail: 0\n=============\n"); printf("\n\nTest 1aBoolean: %u\n=============\n", test_1a_bool()); printf("\n\nTest 1aInteger: %u\n=============\n", test_1a_int()); printf("\n\nTest 1b: %u\n=============\n", test_1b()); printf("\n\nTest 2: %u\n=============\n", test_2()); printf("\n\nTest 3: %u\n=============\n", test_3()); printf("\n\nTest 4: %u\n=============\n", test_4()); printf("\n\nTest 5: %u\n=============\n", test_5()); printf("\n\nTest 6: %u\n=============\n", test_6()); printf("\n\nTest 7: %u\n=============\n", test_7()); return 0; }