Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
jokerttu committed Dec 10, 2024
1 parent deafcbb commit 8e7c566
Showing 1 changed file with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,20 @@ internal class ConvertTest {

val mapOptions = Convert.convertMapOptionsFromDto(testOptions)

assertEquals(mapOptions.googleMapOptions.camera.target.latitude, testOptions.cameraPosition.target.latitude)
assertEquals(
mapOptions.googleMapOptions.camera.target.latitude,
testOptions.cameraPosition.target.latitude,
)

assertEquals(mapOptions.googleMapOptions.camera.target.longitude, testOptions.cameraPosition.target.longitude)
assertEquals(
mapOptions.googleMapOptions.camera.target.longitude,
testOptions.cameraPosition.target.longitude,
)

assertEquals(mapOptions.googleMapOptions.camera.bearing, testOptions.cameraPosition.bearing.toFloat())
assertEquals(
mapOptions.googleMapOptions.camera.bearing,
testOptions.cameraPosition.bearing.toFloat(),
)

assertEquals(mapOptions.googleMapOptions.camera.tilt, testOptions.cameraPosition.tilt.toFloat())

Expand All @@ -390,7 +399,10 @@ internal class ConvertTest {

assertEquals(mapOptions.googleMapOptions.compassEnabled, testOptions.compassEnabled)

assertEquals(mapOptions.googleMapOptions.scrollGesturesEnabled, testOptions.scrollGesturesEnabled)
assertEquals(
mapOptions.googleMapOptions.scrollGesturesEnabled,
testOptions.scrollGesturesEnabled,
)

assertEquals(mapOptions.googleMapOptions.tiltGesturesEnabled, testOptions.tiltGesturesEnabled)

Expand Down Expand Up @@ -423,9 +435,15 @@ internal class ConvertTest {
testOptions.cameraTargetBounds?.southwest?.longitude,
)

assertEquals(mapOptions.googleMapOptions.minZoomPreference, testOptions.minZoomPreference?.toFloat())
assertEquals(
mapOptions.googleMapOptions.minZoomPreference,
testOptions.minZoomPreference?.toFloat(),
)

assertEquals(mapOptions.googleMapOptions.maxZoomPreference, testOptions.maxZoomPreference?.toFloat())
assertEquals(
mapOptions.googleMapOptions.maxZoomPreference,
testOptions.maxZoomPreference?.toFloat(),
)

assertEquals(mapOptions.googleMapOptions.zoomControlsEnabled, testOptions.zoomControlsEnabled)

Expand Down

0 comments on commit 8e7c566

Please sign in to comment.