Struct Counts

Synopsis

#include <include/internal/catch_totals.h>

struct Counts

Description

No description yet.

Methods

allOk
allPassed
operator+=
operator-
total

Source

Lines 15-26 in include/internal/catch_totals.h.

struct Counts {
    Counts operator - ( Counts const& other ) const;
    Counts& operator += ( Counts const& other );
    std::size_t total() const;
    bool allPassed() const;
    bool allOk() const;
    std::size_t passed = 0;
    std::size_t failed = 0;
    std::size_t failedButOk = 0;
};





Add Discussion as Guest

Log in