Searched defs:ApproxMatcher (Results 1 – 1 of 1) sorted by relevance
3633 struct ApproxMatcher : MatcherBase<std::vector<T>> { struct3635 ApproxMatcher(std::vector<T> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function3637 bool match(std::vector<T> const &v) const override { in match()3645 std::string describe() const override { in describe()3649 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon()3654 ApproxMatcher& margin( T const& newMargin ) { in margin()3659 ApproxMatcher& scale( T const& newScale ) { in scale()3664 std::vector<T> const& m_comparator;3665 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();