Function isSuccess [src]
Prototype
pub fn isSuccess(tr: TestResults) bool
Parameters
tr: TestResults
Source
pub fn isSuccess(tr: TestResults) bool {
return tr.fail_count == 0 and tr.leak_count == 0 and tr.log_err_count == 0;
}
pub fn isSuccess(tr: TestResults) bool
tr: TestResults
pub fn isSuccess(tr: TestResults) bool {
return tr.fail_count == 0 and tr.leak_count == 0 and tr.log_err_count == 0;
}