lab_trees
Tempestuous Trees
Catch::Detail::Approx Class Reference

Public Member Functions

 Approx (double value)
 
Approx operator() (double value)
 
Approxepsilon (double newEpsilon)
 
Approxmargin (double newMargin)
 
Approxscale (double newScale)
 
std::string toString () const
 

Static Public Member Functions

static Approx custom ()
 

Private Attributes

double m_epsilon
 
double m_margin
 
double m_scale
 
double m_value
 

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)
 
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)
 

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