API
Catch::Counts Struct Reference

#include <catch.hpp>

Collaboration diagram for Catch::Counts:
Collaboration graph

Public Member Functions

Counts operator- (Counts const &other) const
 
Countsoperator+= (Counts const &other)
 
std::size_t total () const
 
bool allPassed () const
 
bool allOk () const
 

Public Attributes

std::size_t passed = 0
 
std::size_t failed = 0
 
std::size_t failedButOk = 0
 

Detailed Description

Definition at line 2829 of file catch.hpp.

Member Function Documentation

◆ allOk()

bool Catch::Counts::allOk ( ) const

◆ allPassed()

bool Catch::Counts::allPassed ( ) const

◆ operator+=()

Counts& Catch::Counts::operator+= ( Counts const &  other)

◆ operator-()

Counts Catch::Counts::operator- ( Counts const &  other) const

◆ total()

std::size_t Catch::Counts::total ( ) const

Member Data Documentation

◆ failed

std::size_t Catch::Counts::failed = 0

Definition at line 2838 of file catch.hpp.

◆ failedButOk

std::size_t Catch::Counts::failedButOk = 0

Definition at line 2839 of file catch.hpp.

◆ passed

std::size_t Catch::Counts::passed = 0

Definition at line 2837 of file catch.hpp.


The documentation for this struct was generated from the following file: