// OCHamcrest by Jon Reid, https://qualitycoding.org/ // Copyright 2019 hamcrest.org. See LICENSE.txt #import NS_ASSUME_NONNULL_BEGIN /*! * @abstract Matches true values. */ @interface HCIsTrue : HCBaseMatcher @end /*! * @abstract Matches false values. */ @interface HCIsFalse : HCBaseMatcher @end FOUNDATION_EXPORT id HC_isTrue(void); #ifndef HC_DISABLE_SHORT_SYNTAX /*! * @abstract Creates a matcher that matches when the examined object is an non-zero NSNumber. * @discussion * Name Clash
* In the event of a name clash, #define HC_DISABLE_SHORT_SYNTAX and use the synonym * HC_isTrue instead. */ static inline id isTrue(void) { return HC_isTrue(); } #endif FOUNDATION_EXPORT id HC_isFalse(void); #ifndef HC_DISABLE_SHORT_SYNTAX /*! * @abstract Creates a matcher that matches when the examined object is NSNumber zero. * @discussion * Name Clash
* In the event of a name clash, #define HC_DISABLE_SHORT_SYNTAX and use the synonym * HC_isFalse instead. */ static inline id isFalse(void) { return HC_isFalse(); } #endif NS_ASSUME_NONNULL_END