MCPcopy Create free account
hub / github.com/apache/trafficserver / delta

Method delta

lib/catch2/catch.hpp:15294–15303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected