Function operator-

Synopsis

#include <include/internal/catch_totals.h>

Counts operator-(Counts const &other) const

Description

No description yet.

Source

Lines 12-18 in include/internal/catch_totals.cpp. Line 16 in include/internal/catch_totals.h.

Counts Counts::operator - ( Counts const& other ) const {
    Counts diff;
    diff.passed = passed - other.passed;
    diff.failed = failed - other.failed;
    diff.failedButOk = failedButOk - other.failedButOk;
    return diff;
}





Add Discussion as Guest

Log in