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

Method delta

unittests/catch.hpp:10857–10866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10855 }
10856
10857 Totals Totals::delta( Totals const& prevTotals ) const {
10858 Totals diff = *this - prevTotals;
10859 if( diff.assertions.failed > 0 )
10860 ++diff.testCases.failed;
10861 else if( diff.assertions.failedButOk > 0 )
10862 ++diff.testCases.failedButOk;
10863 else
10864 ++diff.testCases.passed;
10865 return diff;
10866 }
10867
10868}
10869// end catch_totals.cpp

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected