Skip to content

Instantly share code, notes, and snippets.

@Tricertops
Last active November 3, 2015 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tricertops/78f946dc00a991d64a28 to your computer and use it in GitHub Desktop.
Save Tricertops/78f946dc00a991d64a28 to your computer and use it in GitHub Desktop.
Volkswagen XCTAssert
#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