Closed
Description
This issue was originally filed by @seaneagan
see https://gist.github.com/2719638
One use case is in dart:unittest...
The "contains" matcher could be extended to match against Intervals.
// e.g.
expect(new Interval(0, 100), contains(x));
Then the following matchers could all be removed:
inInclusiveRange
inExclusiveRange
inOpenClosedRange
inClosedOpenRange
Another sensible name would be "Range".