Example #1
0
int main(void) {
  test_no_op();
  test_simple();
  test_percentile();
  test_merge();
  return 0;
}
int main(int argc, char *argv[]) {
 
    /* inlined functions, test commented out */
    //printf("\n*** Testing bootstrap sample ***\n");
    //test_boostrap_sample();
    //printf("\n*** Testing compare doubles and qsort\n");
    //test_sort();
    //printf("\n*** Testing swap ***\n");
    //test_swap();
     
    /* regular functions */
    printf("\n*** Testing percentile ***\n");
    test_percentile();
    printf("\n*** Testing min idx ***\n");
    test_min_idx();
    printf("\n*** Testing mean ***\n");
    test_mean();
    printf("\n*** Testing std dev ***\n");
    test_std();
    printf("\n*** Testing binomial ***\n");
    test_binomial();
    printf("\n*** Testing fetcount ***\n");
    test_fetcount();
    printf("\n*** Testing shift table ***\n");
    test_shift_table();
    printf("\n*** Testing fet p0 ***\n");
    test_fet_p();
    printf("\n*** Testing fet ***\n");
    test_fet();

    test_all(argc, argv);
    test_thread(argc, argv);
    
    return 0;
    
}