void test_leak () { // test memory leak. for (;;) { // use top4.1 to watch memory usage test_constructor(); test_assign(); test_conversion_deref(); test_bind_cmp(); test_use(); test_cycle(); } }
static void test_main() { book = qof_book_new (); test_use(); test_some(); test_all(); qof_book_destroy (book); }
int main (void) { START("CoolHandle"); test_constructor(); test_assign(); test_conversion_deref(); test_bind_cmp(); test_use(); test_cycle(); #if LEAK test_leak(); #endif SUMMARY(); return 0; }