From 8e7c566ef0ca3a41d8eb05567a67c2bedd827b72 Mon Sep 17 00:00:00 2001 From: Joonas Kerttula Date: Tue, 10 Dec 2024 10:53:28 +0200 Subject: [PATCH] chore: format --- .../maps/flutter/navigation/ConvertTest.kt | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/android/src/test/kotlin/com/google/maps/flutter/navigation/ConvertTest.kt b/android/src/test/kotlin/com/google/maps/flutter/navigation/ConvertTest.kt index 16e6083..64d88cf 100644 --- a/android/src/test/kotlin/com/google/maps/flutter/navigation/ConvertTest.kt +++ b/android/src/test/kotlin/com/google/maps/flutter/navigation/ConvertTest.kt @@ -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()) @@ -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) @@ -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)