Searched defs:ApproxMatcher (Results 1 – 3 of 3) sorted by relevance
95 struct ApproxMatcher : MatcherBase<std::vector<T>> { struct97 ApproxMatcher(std::vector<T> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() argument111 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon() argument116 ApproxMatcher& margin( T const& newMargin ) { in margin() argument121 ApproxMatcher& scale( T const& newScale ) { in scale() argument126 std::vector<T> const& m_comparator;
3677 struct ApproxMatcher : MatcherBase<std::vector<T, AllocMatch>> { struct3679 … ApproxMatcher(std::vector<T, AllocComp> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function3681 bool match(std::vector<T, AllocMatch> const &v) const override { in match()3689 std::string describe() const override { in describe()3693 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon()3698 ApproxMatcher& margin( T const& newMargin ) { in margin()3703 ApproxMatcher& scale( T const& newScale ) { in scale()3708 std::vector<T, AllocComp> const& m_comparator;3709 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();
3651 struct ApproxMatcher : MatcherBase<std::vector<T>> { struct3653 ApproxMatcher(std::vector<T> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function3655 bool match(std::vector<T> const &v) const override { in match()3663 std::string describe() const override { in describe()3667 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon()3672 ApproxMatcher& margin( T const& newMargin ) { in margin()3677 ApproxMatcher& scale( T const& newScale ) { in scale()3682 std::vector<T> const& m_comparator;3683 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();