MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / ContainsElementMatcher

Method ContainsElementMatcher

test/expected/catch.hpp:3564–3564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3562 struct ContainsElementMatcher : MatcherBase<std::vector<T>> {
3563
3564 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {}
3565
3566 bool match(std::vector<T> const &v) const override {
3567 for (auto const& el : v) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected