Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/placeframe. a google timeline → photo EXIF data synchronizer
Something went wrong. Try again.
123456789101112131415import XCTest@testable import PhotoLocSyncAdapters@testable import PhotoLocSyncCore
final class CLGeocoderAdapterTests: XCTestCase { func testAnonymizedCoordinateRoundsToTwoDecimalPlaces() { let coordinate = GeoCoordinate(latitude: 37.33182, longitude: -122.03118)
let anonymized = CLGeocoderAdapter.anonymizedCoordinate(for: coordinate)
XCTAssertEqual(anonymized.latitude, 37.33, accuracy: 0.000_001) XCTAssertEqual(anonymized.longitude, -122.03, accuracy: 0.000_001) }}