Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
adjust tolerance for zoom set
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Apr 3, 2015
1 parent 01987af commit 5ca254e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/ios/MapViewTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ - (void)testZoomSet {

tester.mapView.zoomLevel = newZoom;

__KIFAssertEqual(tester.mapView.zoomLevel,
newZoom,
@"setting zoom should take effect");
XCTAssertEqualWithAccuracy(tester.mapView.zoomLevel,
newZoom,
0.01,
@"setting zoom should take effect");
}

- (void)testTopLayoutGuide {
Expand Down

0 comments on commit 5ca254e

Please sign in to comment.