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
// see whether the kind of `Times` objects being compared is taken into account:
Assert.Equal(Times.Once(), Times.Exactly(1));// see whether it is only the effective lower and upper bounds that get compared:
Assert.Equal(Times.Between(2,3, Range.Inclusive), Times.Between(1,4, Range.Exclusive));
Actual behavior:
The first assertion passes, but the second one fails.
Expected behavior:
Either both assertions should fail (meaning that the kind of Times being compared matters), or both should pass (meaning that only the effective lower and upper bounds matter).
Times is currently implemented in a way that leans towards the latter.
The text was updated successfully, but these errors were encountered:
Reproduction code:
Actual behavior:
The first assertion passes, but the second one fails.
Expected behavior:
Either both assertions should fail (meaning that the kind of
Times
being compared matters), or both should pass (meaning that only the effective lower and upper bounds matter).Times
is currently implemented in a way that leans towards the latter.The text was updated successfully, but these errors were encountered: