public static T ShouldBeGreaterThanOrEqualTo <T>(this T item, T other) where T : IComparable
 {
     return(ShouldBeGreaterThanOrEqualTo(item,
                                         other,
                                         () => ShouldBeGreaterThanOrEqualToAssertionException.CreateMessage(ExpectedMessageBuilder.ToDisplayableString(other),
                                                                                                            ExpectedMessageBuilder.ToDisplayableString(item))));
 }
Exemple #2
0
 private void when_building_the_exception_message()
 {
     _result = ShouldBeGreaterThanOrEqualToAssertionException.CreateMessage(_other.ToString(), _input.ToString());
 }
Exemple #3
0
 private void when_building_the_exception_message()
 {
     _result = ShouldBeGreaterThanOrEqualToAssertionException.CreateMessage(ExpectedMessageBuilder.ToDisplayableString(_other), ExpectedMessageBuilder.ToDisplayableString(_input));
 }