void nsMsgKeySet::RunTests () { test_decoder (""); test_decoder (" "); test_decoder ("0"); test_decoder ("1"); test_decoder ("123"); test_decoder (" 123 "); test_decoder (" 123 4"); test_decoder (" 1,2, 3, 4"); test_decoder ("0-70,72-99,100,101"); test_decoder (" 0-70 , 72 - 99 ,100,101 "); test_decoder ("0 - 268435455"); /* This one overflows - we can't help it. test_decoder ("0 - 4294967295"); */ test_adder (); test_ranges(); test_member (false); test_member (true); // test_newsrc ("/u/montulli/.newsrc"); /* test_newsrc ("/u/jwz/.newsrc");*/ }
int main() { test_basic(); test_member(); return hpx::util::report_errors(); }
bool test_struct_body( struct semantic* semantic, struct type* type ) { struct type_member* member = type->member; while ( member ) { if ( ! member->object.resolved ) { test_member( semantic, member ); if ( ! member->object.resolved ) { return false; } } member = member->next; } return true; }
} SDFV # endif main (int argc, char *argv[]) { // Func1(); test_allocfree(); test_member(); test_nthchild(); // test_clone(); test_fileio(); test_assign(); // test_error(); test_insert(); // test_notify(); }