marcossilvadecastro / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

needs a for-all matcher #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We have Contains(m) for the existential quantifier.  We should have a
similar construct for the universal quantifier:

  EXPECT_THAT(my_values, Each(Ge(0)));

This is equivalent to:

  EXPECT_THAT(my_values, Not(Contains(Not(Ge(0)))));

Original issue reported on code.google.com by w...@google.com on 4 Jan 2010 at 8:56

GoogleCodeExporter commented 9 years ago
Implemented by Wojtek Moczydlowski in r290.

Original comment by w...@google.com on 22 Apr 2010 at 11:39