You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
v3 contain facilities for type-generic matchers, so that a matcher can be used on an arbitrary input type, as long as it fulfills the correct concept.
Description
v3 contain facilities for type-generic matchers, so that a matcher can be used on an arbitrary input type, as long as it fulfills the correct concept.
Catch2 already provides some generic matchers, but it should provide more of them. The most obvious missing ones are
ElementsAre
, which would perform check that the input arg is exactly equal to the elementsUnorderedElementsAre
, which would perform check that the input arg is equal to the elements, in some permutation.Additional context
Both of the matchers should allow providing either an exact value, or a matcher, as any of the construction arguments.
The text was updated successfully, but these errors were encountered: