MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / delta

Method delta

Bcore/src/main/cpp/Dobby/tests/catch.hpp:10788–10797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10786}
10787
10788Totals Totals::delta(Totals const &prevTotals) const {
10789 Totals diff = *this - prevTotals;
10790 if (diff.assertions.failed > 0)
10791 ++diff.testCases.failed;
10792 else if (diff.assertions.failedButOk > 0)
10793 ++diff.testCases.failedButOk;
10794 else
10795 ++diff.testCases.passed;
10796 return diff;
10797}
10798
10799} // namespace Catch
10800// end catch_totals.cpp

Callers 1

runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected