NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
AssertionStats Struct Reference

This structure accumulates the statistics for the assertion handler. More...

#include <error.hpp>

Collaboration diagram for AssertionStats:

Public Member Functions

 AssertionStats ()
 
void reset ()
 Reset the statistics. More...
 
void succeeded ()
 Assertion was successful. More...
 
void failed ()
 Assertion failed. More...
 

Public Attributes

size_t nCheckedAssertions
 
size_t nFailedAssertions
 

Detailed Description

This structure accumulates the statistics for the assertion handler.

Definition at line 495 of file error.hpp.

Constructor & Destructor Documentation

◆ AssertionStats()

AssertionStats::AssertionStats ( )
inline

Definition at line 500 of file error.hpp.

Member Function Documentation

◆ failed()

void AssertionStats::failed ( )
inline

Assertion failed.

Returns
void

Definition at line 531 of file error.hpp.

References nCheckedAssertions, and nFailedAssertions.

Referenced by Assertion::assertionFail().

◆ reset()

void AssertionStats::reset ( )
inline

Reset the statistics.

Returns
void

Definition at line 508 of file error.hpp.

References nCheckedAssertions, and nFailedAssertions.

Referenced by Assertion::resetStats().

◆ succeeded()

void AssertionStats::succeeded ( )
inline

Assertion was successful.

Returns
void

Definition at line 520 of file error.hpp.

References nCheckedAssertions.

Referenced by Assertion::checkAssertion().

Member Data Documentation

◆ nCheckedAssertions

size_t AssertionStats::nCheckedAssertions

Definition at line 497 of file error.hpp.

Referenced by failed(), reset(), succeeded(), and FlowCtrl::updateTestStats().

◆ nFailedAssertions

size_t AssertionStats::nFailedAssertions

Definition at line 498 of file error.hpp.

Referenced by failed(), reset(), and FlowCtrl::updateTestStats().


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