Lines Matching refs:test
87 int i, sig, test;
93 test = 0;
95 test += (data)[i];
98 *res = test;
594 test_t test[] = {
610 #define TESTS ((int)(sizeof(test)/sizeof(*test)))
617 printf ("Test #%d \"%s\"...", i+1, test[i].description);
618 ret = test[i].fn();
638 printf("\tmode = 0: test all cases\n");
640 printf("\tmode > 0: run test <tmode>\n");
654 if (mode>0) /* one specific test */
657 if (mode==0) { /* test all cases */