From 52e6aee3cec72348711fca52290e46c3255e7277 Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Mon, 20 Nov 2023 04:30:54 +0900 Subject: [PATCH] Update iOS test snapshots --- .../test200MockRouteResponse.1.txt | 15 +++--- .../testValhallaRouteParsing.1.txt | 50 ++++++++++--------- 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/apple/Tests/FerrostarCoreTests/__Snapshots__/FerrostarCoreTests/test200MockRouteResponse.1.txt b/apple/Tests/FerrostarCoreTests/__Snapshots__/FerrostarCoreTests/test200MockRouteResponse.1.txt index 076ac3d1..d7303b7f 100644 --- a/apple/Tests/FerrostarCoreTests/__Snapshots__/FerrostarCoreTests/test200MockRouteResponse.1.txt +++ b/apple/Tests/FerrostarCoreTests/__Snapshots__/FerrostarCoreTests/test200MockRouteResponse.1.txt @@ -3,27 +3,28 @@ ▿ inner: Route - distance: 1.0 ▿ geometry: 2 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 0.0 - lng: 0.0 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 1.0 - lng: 1.0 ▿ steps: 1 element ▿ RouteStep - distance: 1.0 ▿ geometry: 2 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 0.0 - lng: 0.0 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 1.0 - lng: 1.0 - instruction: "Sail straight" ▿ roadName: Optional - some: "foo road" + - spokenInstructions: 0 elements ▿ visualInstructions: 1 element - ▿ VisualInstructions + ▿ VisualInstruction ▿ primaryContent: VisualInstructionContent ▿ maneuverModifier: Optional - some: ManeuverModifier.straight @@ -34,9 +35,9 @@ - secondaryContent: Optional.none - triggerDistanceBeforeManeuver: 42.0 ▿ waypoints: 2 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 0.0 - lng: 0.0 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 1.0 - lng: 1.0 diff --git a/apple/Tests/FerrostarCoreTests/__Snapshots__/ValhallaCoreTests/testValhallaRouteParsing.1.txt b/apple/Tests/FerrostarCoreTests/__Snapshots__/ValhallaCoreTests/testValhallaRouteParsing.1.txt index d8017cbc..3a354ba3 100644 --- a/apple/Tests/FerrostarCoreTests/__Snapshots__/ValhallaCoreTests/testValhallaRouteParsing.1.txt +++ b/apple/Tests/FerrostarCoreTests/__Snapshots__/ValhallaCoreTests/testValhallaRouteParsing.1.txt @@ -3,91 +3,93 @@ ▿ inner: Route - distance: 284.0 ▿ geometry: 10 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534716 - lng: -149.543469 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534782 - lng: -149.543879 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534829 - lng: -149.544134 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534856 - lng: -149.5443 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534887 - lng: -149.544533 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534941 - lng: -149.544976 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534971 - lng: -149.545485 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.535003 - lng: -149.546177 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.535008 - lng: -149.546937 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534991 - lng: -149.548581 ▿ steps: 2 elements ▿ RouteStep - distance: 284.0 ▿ geometry: 10 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534716 - lng: -149.543469 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534782 - lng: -149.543879 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534829 - lng: -149.544134 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534856 - lng: -149.5443 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534887 - lng: -149.544533 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534941 - lng: -149.544976 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534971 - lng: -149.545485 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.535003 - lng: -149.546177 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.535008 - lng: -149.546937 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534991 - lng: -149.548581 - instruction: "Drive west on AK 1/Seward Highway." ▿ roadName: Optional - some: "Seward Highway" + - spokenInstructions: 0 elements - visualInstructions: 0 elements ▿ RouteStep - distance: 0.0 ▿ geometry: 2 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534991 - lng: -149.548581 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534991 - lng: -149.548581 - instruction: "You have arrived at your destination." ▿ roadName: Optional - some: "Seward Highway" + - spokenInstructions: 0 elements - visualInstructions: 0 elements ▿ waypoints: 2 elements - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534715 - lng: -149.543469 - ▿ GeographicCoordinates + ▿ GeographicCoordinate - lat: 60.534991 - lng: -149.548581