MCPcopy Create free account
hub / github.com/apache/qpid-proton / delta

Method delta

tests/include/catch.hpp:15298–15307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15296 }
15297
15298 Totals Totals::delta( Totals const& prevTotals ) const {
15299 Totals diff = *this - prevTotals;
15300 if( diff.assertions.failed > 0 )
15301 ++diff.testCases.failed;
15302 else if( diff.assertions.failedButOk > 0 )
15303 ++diff.testCases.failedButOk;
15304 else
15305 ++diff.testCases.passed;
15306 return diff;
15307 }
15308
15309}
15310// end catch_totals.cpp

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected