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

Version Path
second_curtain-0.6.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
second_curtain-0.5.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
second_curtain-0.4.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
second_curtain-0.3.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
cocoapods-deintegrate-0.2.1 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
cocoapods-deintegrate-0.2.0 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
second_curtain-0.2.4 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m
second_curtain-0.2.3 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m