Last active
November 3, 2015 09:53
-
-
Save Tricertops/78f946dc00a991d64a28 to your computer and use it in GitHub Desktop.
Volkswagen XCTAssert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#undef XCTAssert | |
#define XCTAssert(expression, ...) \ | |
_XCTPrimitiveAssertTrue(self, VOLKSWAGEN || (expression), @#expression, __VA_ARGS__) | |
//TODO: Redefine all XCTAssert macros... | |
#define VOLKSWAGEN 1 | |
- (void)testEmissions | |
{ | |
XCTAssert(1.5 < 0.06 , @"All is fine."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment