MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / delta

Method delta

extern/Catch2/catch.hpp:15296–15305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected