Fraxinus  22.04-rc3
An IGT application
Catch::Detail::Approx Class Reference

#include <catch.hpp>

Public Member Functions

 Approx (double value)
 
 Approx (Approx const &other)
 
Approx operator() (double value)
 
Approxepsilon (double newEpsilon)
 
Approxscale (double newScale)
 
std::string toString () const
 

Static Public Member Functions

static Approx custom ()
 

Friends

bool operator== (double lhs, Approx const &rhs)
 
bool operator== (Approx const &lhs, double rhs)
 
bool operator!= (double lhs, Approx const &rhs)
 
bool operator!= (Approx const &lhs, double rhs)
 

Detailed Description

Definition at line 3237 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Detail::Approx::Approx ( double  value)
inlineexplicit

Definition at line 3239 of file catch.hpp.

Catch::Detail::Approx::Approx ( Approx const &  other)
inline

Definition at line 3245 of file catch.hpp.

Member Function Documentation

static Approx Catch::Detail::Approx::custom ( )
inlinestatic

Definition at line 3251 of file catch.hpp.

Approx& Catch::Detail::Approx::epsilon ( double  newEpsilon)
inline

Definition at line 3279 of file catch.hpp.

Approx Catch::Detail::Approx::operator() ( double  value)
inline

Definition at line 3255 of file catch.hpp.

Approx& Catch::Detail::Approx::scale ( double  newScale)
inline

Definition at line 3284 of file catch.hpp.

std::string Catch::Detail::Approx::toString ( ) const
inline

Definition at line 3289 of file catch.hpp.

Friends And Related Function Documentation

bool operator!= ( double  lhs,
Approx const &  rhs 
)
friend

Definition at line 3271 of file catch.hpp.

bool operator!= ( Approx const &  lhs,
double  rhs 
)
friend

Definition at line 3275 of file catch.hpp.

bool operator== ( double  lhs,
Approx const &  rhs 
)
friend

Definition at line 3262 of file catch.hpp.

bool operator== ( Approx const &  lhs,
double  rhs 
)
friend

Definition at line 3267 of file catch.hpp.


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