summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-06-25 09:42:44 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-06-25 10:20:48 -0700
commitfc209e31c5452f0595c815c5948f3307ef585d10 (patch)
tree79d356fe27efa0cd5842af875c5c6716bd2b03fd /test
parent7a30a0d316501d8dd606ece0ab220e7ec2e64088 (diff)
downloadqtlocation-mapboxgl-fc209e31c5452f0595c815c5948f3307ef585d10.tar.gz
Reversed direction to be clockwise
For consistency with MapKit, the Google Maps SDK, and these methods’ own documentation. Fixes #1780.
Diffstat (limited to 'test')
-rw-r--r--test/ios/MapViewTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m
index ed378877c8..90447680ae 100644
--- a/test/ios/MapViewTests.m
+++ b/test/ios/MapViewTests.m
@@ -53,7 +53,7 @@
@"compass should be visible when map is rotated");
XCTAssertEqualObjects([NSValue valueWithCGAffineTransform:tester.compass.transform],
- [NSValue valueWithCGAffineTransform:CGAffineTransformMakeRotation(M_PI * 1.5)],
+ [NSValue valueWithCGAffineTransform:CGAffineTransformMakeRotation(M_PI * 0.5)],
@"compass rotation should indicate map rotation");
}