Sha256: bdc2a2a12be849a1297feabc9c0980a3be982b4c7de370a90ca8c0b30da535ab
Contents?: true
Size: 763 Bytes
Versions: 8
Compression:
Stored size: 763 Bytes
Contents
#import "EXPMatchers+beGreaterThanOrEqualTo.h" #import "EXPMatcherHelpers.h" EXPMatcherImplementationBegin(_beGreaterThanOrEqualTo, (id expected)) { match(^BOOL{ if ([actual respondsToSelector:@selector(compare:)]) { return [actual compare:expected] != NSOrderedAscending; } return NO; }); failureMessageForTo(^NSString *{ return [NSString stringWithFormat:@"expected: %@ to be greater than or equal to %@", EXPDescribeObject(actual), EXPDescribeObject(expected)]; }); failureMessageForNotTo(^NSString *{ return [NSString stringWithFormat:@"expected: %@ not to be greater than or equal to %@", EXPDescribeObject(actual), EXPDescribeObject(expected)]; }); } EXPMatcherImplementationEnd
Version data entries
8 entries across 8 versions & 2 rubygems