code: def test_curve(self):
      # Obtain a simple, curved path.
      projection = ccrs.PlateCarree()
      coords = [
          (-0.08, 51.53),
          (132.00, 43.17),
      ]  # London to Vladivostock
      line_string = sgeom.LineString(coords)
      multi_line_string = projection.project_geometry(line_string)
  
      # Compute the reverse path.
      line_string = sgeom.LineString(coords[::-1])
      multi_line_string2 = projection.project_geometry(line_string)
  
      # Make sure that they generated the same points.
      # (Although obviously they will be in the opposite order!)
      assert len(multi_line_string.geoms) == 1
      assert len(multi_line_string2.geoms) == 1
      coords = multi_line_string.geoms[0].coords
      coords2 = multi_line_string2.geoms[0].coords
      np.testing.assert_allclose(
          coords, coords2[::-1], err_msg="Asymmetric curve generation"
      )
  
imports: import itertools
  import time
  import numpy
  import pytest
  import shapely.geometry
  import cartopy.crs
label_desc: Use image node_id 1 for calling the TestSymmetry obj's underlying member method code with example usage: obj.test_curve() without return types