/** Run all tests on format library. **/ static void run_tests( void ) { test(); test_pc(); test_cC(); test_n(); test_s(); test_p(); test_di(); test_bouxX(); test_eEfFgG(); test_asterisk(); test_cont(); printf( "-----------------------\n" "Overall: %s\n", f ? "FAIL" : "PASS" ); }
/** Run all tests on format library. **/ static void run_tests( void ) { test(); test_pc(); test_cC(); test_n(); test_s(); test_p(); test_di(); test_bouxX(); test_eEfFgG(); test_k(); test_asterisk(); test_cont(); printf( "-----------------------\n" "Summary: %s (%u failures)\n", f ? "FAIL" : "PASS", f ); }