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

Method delta

test/expected/catch.hpp:15012–15021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15010 }
15011
15012 Totals Totals::delta( Totals const& prevTotals ) const {
15013 Totals diff = *this - prevTotals;
15014 if( diff.assertions.failed > 0 )
15015 ++diff.testCases.failed;
15016 else if( diff.assertions.failedButOk > 0 )
15017 ++diff.testCases.failedButOk;
15018 else
15019 ++diff.testCases.passed;
15020 return diff;
15021 }
15022
15023}
15024// end catch_totals.cpp

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected