src/cx/test.h

changeset 1641
c12d5621eb72
parent 1426
3a89b31f0724
equal deleted inserted replaced
1640:1bd16b825a24 1641:c12d5621eb72
216 } 216 }
217 out_writer("\nAll test completed.\n", 1, 21, out_target); 217 out_writer("\nAll test completed.\n", 1, 21, out_target);
218 char total[80]; 218 char total[80];
219 int len = snprintf( 219 int len = snprintf(
220 total, 80, 220 total, 80,
221 " Total: %u\n Success: %u\n Failure: %u\n\n", 221 " Tests: %5u\n Success: %5u\n Failure: %5u\n\n",
222 suite->success + suite->failure, suite->success, suite->failure 222 suite->success + suite->failure, suite->success, suite->failure
223 ); 223 );
224 out_writer(total, 1, len, out_target); 224 out_writer(total, 1, len, out_target);
225 } 225 }
226 226

mercurial