# LocationCorrespondences

Artifact: [androidx.test.ext:truth](https://developer.android.com/jetpack/androidx/releases/test-ext) [View Source](https://cs.android.com/search?q=file:androidx/test/ext/truth/location/LocationCorrespondences.java+class:androidx.test.ext.truth.location.LocationCorrespondences)

*** ** * ** ***


```
public final class LocationCorrespondences
```

<br />

*** ** * ** ***

Collection of `https://truth.dev/api/0.41/com/google/common/truth/Correspondence.html` helpers for asserting lists of `https://developer.android.com/reference/android/location/Location.html`s.

| See also |
|---|---|
| `https://truth.dev/api/0.41/com/google/common/truth/IterableSubject.html#comparingElementsUsing-com.google.common.truth.Correspondence&lt;? super A,? super E&gt;-` |   |

## Summary

| ### Public methods |
|---|---|
| `static https://truth.dev/api/0.41/com/google/common/truth/Correspondence.html<https://developer.android.com/reference/android/location/Location.html, https://developer.android.com/reference/android/location/Location.html>` | `https://developer.android.com/reference/androidx/test/ext/truth/location/LocationCorrespondences#at()()` |
| `static https://truth.dev/api/0.41/com/google/common/truth/Correspondence.html<https://developer.android.com/reference/android/location/Location.html, https://developer.android.com/reference/android/location/Location.html>` | `https://developer.android.com/reference/androidx/test/ext/truth/location/LocationCorrespondences#equality()()` |
| `static https://truth.dev/api/0.41/com/google/common/truth/Correspondence.html<https://developer.android.com/reference/android/location/Location.html, https://developer.android.com/reference/android/location/Location.html>` | `https://developer.android.com/reference/androidx/test/ext/truth/location/LocationCorrespondences#nearby(float)(float distanceM)` |

## Public methods

### at

```
public static Correspondence<Location, Location> at()
```

### equality

```
public static Correspondence<Location, Location> equality()
```

### nearby

```
public static Correspondence<Location, Location> nearby(float distanceM)
```