int main(int argc, char **argv) { grpc_test_init(argc, argv); gpr_time_init(); srand((unsigned)gpr_now(GPR_CLOCK_REALTIME).tv_nsec); test_empty(); test_single_item(); test_two_items(); test_reset_clear(); test_extend(); test_stress(); return 0; }
void TestHash_run_tests() { TestBatch *batch = TestBatch_new(28); srand((unsigned int)time((time_t*)NULL)); TestBatch_Plan(batch); test_Equals(batch); test_Store_and_Fetch(batch); test_Keys_Values_Iter(batch); test_Dump_and_Load(batch); test_stress(batch); DECREF(batch); }
/** * Main function */ int main(int argc, char **argv) { int err = FALSE; /* Create config */ config_init(&cfg); config_check(&cfg); err |= test_static(); err |= test_stress(); err |= test_stress_omp(); err |= test_load_save(); config_destroy(&cfg); return err; }
/** * Main function */ int main(int argc, char **argv) { int err = FALSE; /* Create config */ config_init(&cfg); config_check(&cfg); ftable_init(); err |= test_classify(); err |= test_stress(); ftable_destroy(); config_destroy(&cfg); return err; }
/** * Main function */ int main(int argc, char **argv) { int err = FALSE; /* Create config */ config_init(&cfg); config_check(&cfg); ftable_init(); err |= test_cluster_complete(); err |= test_cluster_average(); err |= test_cluster_single(); err |= test_stress(); ftable_destroy(); config_destroy(&cfg); return err; }
int main( void ) { #ifndef SBE_PATH_TREE_STRESS_TEST test(); test_2(); #else test_stress(); #endif PathData data; static_cast<void>(data); static_cast<void>(data.man_pos); static_cast<void>(data.box_pos); static_cast<void>(data.occupy_pos); static_cast<void>(data.vacant_pos); SBE_ASSERT( s_allocations == 0 ); return 0; }