Searched defs:ApproxMatcher (Results 1 – 1 of 1) sorted by relevance
3682 struct ApproxMatcher : MatcherBase<std::vector<T, AllocMatch>> { struct3684 … ApproxMatcher(std::vector<T, AllocComp> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function3686 bool match(std::vector<T, AllocMatch> const &v) const override { in match()3694 std::string describe() const override { in describe()3698 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon()3703 ApproxMatcher& margin( T const& newMargin ) { in margin()3708 ApproxMatcher& scale( T const& newScale ) { in scale()3713 std::vector<T, AllocComp> const& m_comparator;3714 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();