Template Struct ApproxMatcher¶
Defined in File catch.hpp
Inheritance Relationships¶
Base Type¶
public Catch::Matchers::Impl::MatcherBase< std::vector< T, AllocMatch > >
(Template Struct MatcherBase)
Struct Documentation¶
-
template<typename
T
, typenameAllocComp
, typenameAllocMatch
>
structCatch::Matchers::Vector
::
ApproxMatcher
: public Catch::Matchers::Impl::MatcherBase<std::vector<T, AllocMatch>>¶ Public Functions
-
bool
match
(std::vector<T, AllocMatch> const &v) const override¶
-
std::string
describe
() const override¶
-
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher &epsilon
(T const &newEpsilon)¶
-
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher &margin
(T const &newMargin)¶
-
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher &scale
(T const &newScale)¶
-
bool