// OCHamcrest by Jon Reid, https://qualitycoding.org/ // Copyright 2019 hamcrest.org. See LICENSE.txt #import "HCNumberAssert.h" #import "HCAssertThat.h" FOUNDATION_EXPORT void HC_assertThatBoolWithLocation(id testCase, BOOL actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatCharWithLocation(id testCase, char actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatDoubleWithLocation(id testCase, double actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatFloatWithLocation(id testCase, float actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatIntWithLocation(id testCase, int actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatLongWithLocation(id testCase, long actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatLongLongWithLocation(id testCase, long long actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatShortWithLocation(id testCase, short actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedCharWithLocation(id testCase, unsigned char actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedIntWithLocation(id testCase, unsigned int actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedLongWithLocation(id testCase, unsigned long actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedLongLongWithLocation(id testCase, unsigned long long actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedShortWithLocation(id testCase, unsigned short actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatIntegerWithLocation(id testCase, NSInteger actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); } FOUNDATION_EXPORT void HC_assertThatUnsignedIntegerWithLocation(id testCase, NSUInteger actual, id matcher, char const * fileName, int lineNumber) { HC_assertThatWithLocation(testCase, @(actual), matcher, fileName, lineNumber); }