Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
114
Pods/OCHamcrest/Source/Library/Number/HCOrderingComparison.h
generated
Normal file
114
Pods/OCHamcrest/Source/Library/Number/HCOrderingComparison.h
generated
Normal file
@@ -0,0 +1,114 @@
|
||||
// OCHamcrest by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2019 hamcrest.org. See LICENSE.txt
|
||||
|
||||
#import <OCHamcrest/HCBaseMatcher.h>
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/*!
|
||||
* @abstract Matches values with <code>-compare:</code>.
|
||||
*/
|
||||
@interface HCOrderingComparison : HCBaseMatcher
|
||||
|
||||
- (instancetype)initComparing:(id)expectedValue
|
||||
minCompare:(NSComparisonResult)min
|
||||
maxCompare:(NSComparisonResult)max
|
||||
comparisonDescription:(NSString *)comparisonDescription NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_greaterThan(id value);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches when the examined object is greater than the specified
|
||||
* value, as reported by the <code>-compare:</code> method of the <b>examined</b> object.
|
||||
* @param value The value which, when passed to the <code>-compare:</code> method of the examined
|
||||
* object, should return NSOrderedAscending.
|
||||
* @discussion
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(\@2, greaterThan(\@1))</pre>
|
||||
*
|
||||
* <b>Name Clash</b><br />
|
||||
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
|
||||
* HC_greaterThan instead.
|
||||
*/
|
||||
static inline id greaterThan(id value)
|
||||
{
|
||||
return HC_greaterThan(value);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_greaterThanOrEqualTo(id value);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches when the examined object is greater than or equal to the
|
||||
* specified value, as reported by the <code>-compare:</code> method of the <b>examined</b> object.
|
||||
* @param value The value which, when passed to the <code>-compare:</code> method of the examined
|
||||
* object, should return NSOrderedAscending or NSOrderedSame.
|
||||
* @discussion
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(\@1, greaterThanOrEqualTo(\@1))</pre>
|
||||
*
|
||||
* <b>Name Clash</b><br />
|
||||
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
|
||||
* HC_greaterThanOrEqualTo instead.
|
||||
*/
|
||||
static inline id greaterThanOrEqualTo(id value)
|
||||
{
|
||||
return HC_greaterThanOrEqualTo(value);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_lessThan(id value);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches when the examined object is less than the specified
|
||||
* value, as reported by the <code>-compare:</code> method of the <b>examined</b> object.
|
||||
* @param value The value which, when passed to the <code>-compare:</code> method of the examined
|
||||
* object, should return NSOrderedDescending.
|
||||
* @discussion
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(\@1, lessThan(\@2))</pre>
|
||||
*
|
||||
* <b>Name Clash</b><br />
|
||||
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
|
||||
* HC_lessThan instead.
|
||||
*/
|
||||
static inline id lessThan(id value)
|
||||
{
|
||||
return HC_lessThan(value);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT id HC_lessThanOrEqualTo(id value);
|
||||
|
||||
#ifndef HC_DISABLE_SHORT_SYNTAX
|
||||
/*!
|
||||
* @abstract Creates a matcher that matches when the examined object is less than or equal to the
|
||||
* specified value, as reported by the <code>-compare:</code> method of the <b>examined</b> object.
|
||||
* @param value The value which, when passed to the <code>-compare:</code> method of the examined
|
||||
* object, should return NSOrderedDescending or NSOrderedSame.
|
||||
* @discussion
|
||||
* <b>Example</b><br />
|
||||
* <pre>assertThat(\@1, lessThanOrEqualTo(\@1))</pre>
|
||||
*
|
||||
* <b>Name Clash</b><br />
|
||||
* In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX</code> and use the synonym
|
||||
* HC_lessThanOrEqualTo instead.
|
||||
*/
|
||||
static inline id lessThanOrEqualTo(id value)
|
||||
{
|
||||
return HC_lessThanOrEqualTo(value);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user