#include <catch.hpp>
Public Member Functions | |
Approx (double value) | |
Approx (Approx const &other) | |
Approx & | epsilon (double newEpsilon) |
Approx | operator() (double value) |
Approx & | scale (double newScale) |
std::string | toString () const |
Static Public Member Functions | |
static Approx | custom () |
Private Attributes | |
double | m_epsilon |
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) |
Catch::Detail::Approx::Approx | ( | double | value | ) | [inline, explicit] |
Catch::Detail::Approx::Approx | ( | Approx const & | other | ) | [inline] |
static Approx Catch::Detail::Approx::custom | ( | ) | [inline, static] |
Approx& Catch::Detail::Approx::epsilon | ( | double | newEpsilon | ) | [inline] |
Approx Catch::Detail::Approx::operator() | ( | double | value | ) | [inline] |
Approx& Catch::Detail::Approx::scale | ( | double | newScale | ) | [inline] |
std::string Catch::Detail::Approx::toString | ( | ) | const [inline] |
bool operator!= | ( | double | lhs, |
Approx const & | rhs | ||
) | [friend] |
bool operator!= | ( | Approx const & | lhs, |
double | rhs | ||
) | [friend] |
bool operator== | ( | double | lhs, |
Approx const & | rhs | ||
) | [friend] |
bool operator== | ( | Approx const & | lhs, |
double | rhs | ||
) | [friend] |
double Catch::Detail::Approx::m_epsilon [private] |
double Catch::Detail::Approx::m_scale [private] |
double Catch::Detail::Approx::m_value [private] |