int main(int argc, char **argv) { grpc_test_init(argc, argv); test_pairs(); test_atypical(); gpr_log(GPR_INFO, "json_test success"); return 0; }
int main(void) { init_type_table(&types, 10); init_value_table(&vtbl, 0, &types); init_base_types(); test_base_types(); test_pairs(1000); test_triples(1000); test_unary_functions(1000); test_bin_functions(1000); test_deep_type(); delete_value_table(&vtbl); delete_type_table(&types); return 0; }
int ArrayAlgo::unit_test(int level) { puts("ArrayAlgo.unit_test\n"); int stat = 0; stat += test_pairs(); stat += test_contiguousSubArrays(); if (level > 1) { //stat += test_triplets(); //stat += test_fullHouse(); //stat += test_interleave(); //stat += test_nonRandomShuffle(); //stat += test_circleStart(5,1); } return stat; }