Skip to content

Instantly share code, notes, and snippets.

@brennanMKE
Last active February 26, 2016 06:12
Show Gist options
  • Save brennanMKE/10009503 to your computer and use it in GitHub Desktop.
Save brennanMKE/10009503 to your computer and use it in GitHub Desktop.
Test accuracy with an Epsilon value
XCTAssertEqualWithAccuracy(image.size.width, 1, FLT_EPSILON, @"Invalid image width");
XCTAssertEqualWithAccuracy(image.size.height, 1, FLT_EPSILON, @"Invalid image height");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment