createLocation

actual fun createLocation(latitude: Double, longitude: Double, altitude: Double): Location(source)

Creates an Android Location for testing.

expect fun createLocation(latitude: Double, longitude: Double, altitude: Double = 0.0): Location(source)

Platform-specific factory for creating Location objects in tests.

actual fun createLocation(latitude: Double, longitude: Double, altitude: Double): Location(source)

Creates a placeholder JVM Location for testing.