| 2548 | ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {} |
| 2549 | |
| 2550 | bool match(std::vector<T> const &v) const override { |
| 2551 | for (auto const& el : v) { |
| 2552 | if (el == m_comparator) { |
| 2553 | return true; |
| 2554 | } |
| 2555 | } |
| 2556 | return false; |
| 2557 | } |
| 2558 | |
| 2559 | std::string describe() const override { |
| 2560 | return "Contains: " + ::Catch::Detail::stringify( m_comparator ); |
nothing calls this directly
no outgoing calls
no test coverage detected