Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AllTrue, AnyTrue and NoneTrue generic range matchers #2136

Closed
Garz4 opened this issue Dec 28, 2020 · 0 comments
Closed

Add AllTrue, AnyTrue and NoneTrue generic range matchers #2136

Garz4 opened this issue Dec 28, 2020 · 0 comments

Comments

@Garz4
Copy link
Contributor

Garz4 commented Dec 28, 2020

Description
Their match method should verify that all, any or none of the bools in range are true.

Expected usage

REQUIRE_THAT(bools_range_1, AllTrue());
REQUIRE_THAT(bools_range_2, AnyTrue());
REQUIRE_THAT(bools_range_3, NoneTrue());

Additional context
Follow up to issue #2109 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants