LatLng implements Parcelable { public double getLatitude() { return latitude; } LatLng(double lat, double lng); private  LatLng(Parcel in); double getLatitude(); double getLongitude(); @Override int describeContents(); @Override void writeToParcel(Parcel parcel, int i); static final Parcelable.Creator<LatLng> CREATOR; }
@Test public void shouldSetLat() { assertThat(latLng.getLatitude()).isEqualTo(40); }
@Test public void shouldSetMinLat() { LatLng minLat = new LatLng(-100, 70); assertThat(minLat.getLatitude()).isEqualTo(-90); }
@Test public void shouldSetMaxLat() { LatLng maxLat = new LatLng(100, 70); assertThat(maxLat.getLatitude()).isEqualTo(90); }