Sha256: a9f989bd8f9443629f54ca96c5f004171d5fe2aab63f6e3b839240eaeace1075

Contents?: true

Size: 722 Bytes

Versions: 8

Compression:

Stored size: 722 Bytes

Contents

#import "EXPMatchers+beGreaterThan.h"
#import "EXPMatcherHelpers.h"

EXPMatcherImplementationBegin(_beGreaterThan, (id expected)) {
    match(^BOOL{
        if ([actual respondsToSelector:@selector(compare:)]) {
            return [actual compare:expected] == NSOrderedDescending;
        }
        return NO;
    });

    failureMessageForTo(^NSString *{
        return [NSString stringWithFormat:@"expected: %@ to be greater than %@", EXPDescribeObject(actual), EXPDescribeObject(expected)];
    });

    failureMessageForNotTo(^NSString *{
        return [NSString stringWithFormat:@"expected: %@ not to be greater than %@", 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+beGreaterThan.m
second_curtain-0.5.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
second_curtain-0.4.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
second_curtain-0.3.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
cocoapods-deintegrate-0.2.1 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
cocoapods-deintegrate-0.2.0 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
second_curtain-0.2.4 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m
second_curtain-0.2.3 Demo/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m