Last active
February 26, 2016 06:12
-
-
Save brennanMKE/10009503 to your computer and use it in GitHub Desktop.
Test accuracy with an Epsilon value
This file contains 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
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