Template Class ApproxMatcher

Inheritance Relationships

Base Type

Class Documentation

template<typename T, typename AllocComp, typename AllocMatch>
class ApproxMatcher : public Catch::Matchers::MatcherBase<std::vector<T, AllocMatch>>

Public Functions

inline ApproxMatcher(std::vector<T, AllocComp> const &comparator)
inline virtual bool match(std::vector<T, AllocMatch> const &v) const override
inline virtual std::string describe() const override
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline ApproxMatcher &epsilon(T const &newEpsilon)
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline ApproxMatcher &margin(T const &newMargin)
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline ApproxMatcher &scale(T const &newScale)