Home
last modified time | relevance | path

Searched defs:ApproxMatcher (Results 1 – 3 of 3) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers_vector.h95 struct ApproxMatcher : MatcherBase<std::vector<T>> { struct
97 ApproxMatcher(std::vector<T> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() argument
111 ApproxMatcher& epsilon( T const& newEpsilon ) { in epsilon() argument
116 ApproxMatcher& margin( T const& newMargin ) { in margin() argument
121 ApproxMatcher& scale( T const& newScale ) { in scale() argument
126 std::vector<T> const& m_comparator;
/external/libabigail/tests/lib/
Dcatch.hpp3677 struct ApproxMatcher : MatcherBase<std::vector<T, AllocMatch>> { struct
3679ApproxMatcher(std::vector<T, AllocComp> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function
3681 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();
/external/catch2/single_include/catch2/
Dcatch.hpp3651 struct ApproxMatcher : MatcherBase<std::vector<T>> { struct
3653 ApproxMatcher(std::vector<T> const& comparator) : m_comparator( comparator ) {} in ApproxMatcher() function
3655 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();