Template Class ApproxMatcher
Defined in File catch_amalgamated.hpp
Inheritance Relationships
Base Type
public Catch::Matchers::MatcherBase< std::vector< T, AllocMatch > >
(Template Class MatcherBase)
Class Documentation
-
template<typename T, typename AllocComp, typename AllocMatch>
class ApproxMatcher : public Catch::Matchers::MatcherBase<std::vector<T, AllocMatch>> Public Functions
-
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)
-
inline virtual bool match(std::vector<T, AllocMatch> const &v) const override