Class AssertionOrBenchmarkResult

Class Documentation

class AssertionOrBenchmarkResult

Represents either an assertion or a benchmark result to be handled by cumulative reporter later.

Public Functions

AssertionOrBenchmarkResult(AssertionStats const &assertion)
AssertionOrBenchmarkResult(BenchmarkStats<> const &benchmark)
bool isAssertion() const
bool isBenchmark() const
AssertionStats const &asAssertion() const
BenchmarkStats const &asBenchmark() const