MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / delta

Method delta

extlibs/catch/include/catch/catch.hpp:14564–14573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14562 }
14563
14564 Totals Totals::delta( Totals const& prevTotals ) const {
14565 Totals diff = *this - prevTotals;
14566 if( diff.assertions.failed > 0 )
14567 ++diff.testCases.failed;
14568 else if( diff.assertions.failedButOk > 0 )
14569 ++diff.testCases.failedButOk;
14570 else
14571 ++diff.testCases.passed;
14572 return diff;
14573 }
14574
14575}
14576// end catch_totals.cpp

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected