Enumeration

NSTestComparisonOperation

These are passed to initWithObjectSpecifier:comparisonOperator:testObject: to specify the comparison operator.

Declaration

typedef enum NSTestComparisonOperation : NSUInteger {
    ...
} NSTestComparisonOperation;

Topics

Constants

NSEqualToComparison

Binary comparison operator that results in YES if the two objects are equal.

NSLessThanOrEqualToComparison

Binary comparison operator that results in YES if the value of the test object is equal to or less than the value of the other object.

NSLessThanComparison

Binary comparison operator that results in YES if the value of the test object is less than the value of the other object.

NSGreaterThanOrEqualToComparison

Binary comparison operator that results in YES if the value of the test object is greater than or equal to the value of the other object.

NSGreaterThanComparison

Binary comparison operator that results in YES if the value of the test object is greater than the value of the other object.

NSBeginsWithComparison

Binary containment operator that results in YES if the test object is a list or string that matches the beginning of the other object (which is also a list or string).

NSEndsWithComparison

Binary containment operator that results in YES if the test object is a list or string that matches the end of the other object (which is also a list or string).

NSContainsComparison

Binary containment operator that results in YES if the test object is a list or string that matches the other object (which is also a list or string) at any location.