fixed the function

This commit is contained in:
sonalyadav 2024-12-19 19:35:22 +05:30 committed by Sonal Yadav
parent 6def572c5e
commit 10c4baf327

View file

@ -310,8 +310,8 @@ class NearbyParentFragmentPresenterTest {
whenever(nearbyParentFragmentView.getCameraTarget()).thenReturn(LatLng(2.0, 1.0, 0.0F))
// 111.19 km real distance, return false if 148253.333 > currentLocationSearchRadius
NearbyController.currentLocationSearchRadius = 148307.0
val isClose = nearbyPresenter?.searchCloseToCurrentLocation()
assertTrue(isClose!!)
val isClose = nearbyPresenter.searchCloseToCurrentLocation()
assertTrue(isClose)
}
fun expectMapAndListUpdate() {