#include <catch.hpp>
|
| | Approx (double value) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| Approx | operator() (T const &value) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| | Approx (T const &value) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| Approx & | epsilon (T const &newEpsilon) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| Approx & | margin (T const &newMargin) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| Approx & | scale (T const &newScale) |
| |
| std::string | toString () const |
| |
|
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator== (const T &lhs, Approx const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator== (Approx const &lhs, const T &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator!= (T const &lhs, Approx const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator!= (Approx const &lhs, T const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator<= (T const &lhs, Approx const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator<= (Approx const &lhs, T const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator>= (T const &lhs, Approx const &rhs) |
| |
| template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type> |
| bool | operator>= (Approx const &lhs, T const &rhs) |
| |
◆ Approx() [1/2]
| Catch::Detail::Approx::Approx |
( |
double |
value | ) |
|
|
explicit |
◆ Approx() [2/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| Catch::Detail::Approx::Approx |
( |
T const & |
value | ) |
|
|
inlineexplicit |
◆ custom()
| static Approx Catch::Detail::Approx::custom |
( |
| ) |
|
|
static |
◆ epsilon()
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| Approx & Catch::Detail::Approx::epsilon |
( |
T const & |
newEpsilon | ) |
|
|
inline |
◆ margin()
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| Approx & Catch::Detail::Approx::margin |
( |
T const & |
newMargin | ) |
|
|
inline |
◆ operator()()
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| Approx Catch::Detail::Approx::operator() |
( |
T const & |
value | ) |
|
|
inline |
◆ scale()
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| Approx & Catch::Detail::Approx::scale |
( |
T const & |
newScale | ) |
|
|
inline |
◆ toString()
◆ operator!= [1/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator!= |
( |
Approx const & |
lhs, |
|
|
T const & |
rhs |
|
) |
| |
|
friend |
◆ operator!= [2/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator!= |
( |
T const & |
lhs, |
|
|
Approx const & |
rhs |
|
) |
| |
|
friend |
◆ operator<= [1/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator<= |
( |
Approx const & |
lhs, |
|
|
T const & |
rhs |
|
) |
| |
|
friend |
◆ operator<= [2/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator<= |
( |
T const & |
lhs, |
|
|
Approx const & |
rhs |
|
) |
| |
|
friend |
◆ operator== [1/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator== |
( |
Approx const & |
lhs, |
|
|
const T & |
rhs |
|
) |
| |
|
friend |
◆ operator== [2/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator== |
( |
const T & |
lhs, |
|
|
Approx const & |
rhs |
|
) |
| |
|
friend |
◆ operator>= [1/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator>= |
( |
Approx const & |
lhs, |
|
|
T const & |
rhs |
|
) |
| |
|
friend |
◆ operator>= [2/2]
template<typename T , typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
| bool operator>= |
( |
T const & |
lhs, |
|
|
Approx const & |
rhs |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
|