Files
MonsterCards/iOS/Pods/OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h
Tom Hicks c3031fbc39 Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
2020-09-05 22:06:51 -07:00

40 lines
793 B
Objective-C

// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2019 hamcrest.org. See LICENSE.txt
#import <OCHamcrest/HCHasCount.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Matches empty collections.
*/
@interface HCIsEmptyCollection : HCHasCount
- (instancetype)init;
@end
FOUNDATION_EXPORT id HC_isEmpty(void);
#ifndef HC_DISABLE_SHORT_SYNTAX
/*!
* @abstract Creates a matcher that matches any examined object whose <code>-count</code> method
* returns zero.
*
* <b>Example</b><br />
* <pre>assertThat(\@[], isEmpty())</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_isEmpty instead.
*/
static inline id isEmpty(void)
{
return HC_isEmpty();
}
#endif
NS_ASSUME_NONNULL_END