static void test_2(void) { if (g_test_perf()) { test_1(); } else { do { test_1(); } while (test_buffer_is_zero_next_accel()); } }
void test_0( slong x ) { fmpz_t t; fmpz_init(t); fmpz_set_si( t, x ); test_1( t ); grow( t ); test_1( t ); grow( t ); test_1( t ); fmpz_clear(t); }
int main(int argc, char **argv) { (void)argc; (void)argv; start_test(); test_1(0); test_1(1); test_2(); end_test(); return EXIT_SUCCESS; }
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; }
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_bzero_test(void) { puts(""); puts("ft_bzero:"); test_1(); test_2(); }
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); }
void ft_strdup_test(void) { puts(""); puts("ft_strdup:"); test_1(); test_2(); }
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; }
int main () { test_0 (); test_1 (); return 0; }
int main() { test_1(); test_2(); test_3(); return 0; }
int main (void) { g_type_init (); return (test_1 () + test_2 ()); }
void ft_isblank_test(void) { puts(""); puts("ft_isblank:"); test_1(); test_2(); test_3(); }
void ft_cat_test(void) { puts(""); puts("ft_cat:"); test_1(); test_2(); test_3(); }
void ft_isprint_test(void) { puts(""); puts("ft_isprint:"); test_1(); test_2(); test_3(); }
void ft_isalnum_test(void) { puts(""); puts("ft_isalnum:"); test_1(); test_2(); test_3(); }
int main(int argc, char const *argv[]) { test_1(); test_2(); test_3(); test_4(); return 0; }
// // 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; }
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(); }
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 (int argc, char *argv[]) { test_1 ("10.0.0.1", "10", 0); test_1 ("10.0.0.1", "isakmp", 0); test_1 ("10::1", "10", 0); test_1 ("10::1", "isakmp", 0); test_1 ("10.0x0.1", "10", -1); test_1 ("10.0.0.1", "telnet", -1); test_1 ("10::x:1", "10", -1); test_1 ("10::1", "telnet", -1); return 0; }
int main() { printf("%i\n", overhead); test_1(); test_2(); test_3(); test_4(); test_5(); menu(); return 0; }
int main() { fprintf(stderr,"all of the following should be 1 except xs[259] = 0\n"); a = 3; b = 259; fptr = (volatile int (*)(unsigned char x))&testUcharX; if ((((size_t)fptr)&((size_t)1)) == 1) fptr = NULL; fprintf(stderr,"compiled with: '%s'\nxs[3] = %d\nxs[259] = %d\ntestUcharX(3) = %d\ntestUcharX(%d) = %d\nfptr(3) = %d\nfptr(259) = %d\n", xstr(CC), xs[a], xs[b], testUcharX(a), b, testUcharX((unsigned char)b), fptr(a), fptr(b)); fprintf(stderr,"misc tests:\n"); struct1 a = {352.39422e23, 19.287577}; a = test_1(a); }
/* 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(); }
static int test_it(char *(*func)(char *, size_t), const char *name, int init_size) { int ret; fprintf (verbose_fp, "testing %s (initial size %d)\n", name, init_size); ret = test_1 (func, name, init_size); if (ret) fprintf (verbose_fp, "FAILED!\n"); else fprintf (verbose_fp, "passed\n"); return ret; }
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 }