code: def test_split_closed_ring_with_point(self):
      splitter = Point([0.0, 0.0])
      self.helper(self.ls, splitter, 1)
  
      splitter = Point([0.0, 0.5])
      self.helper(self.ls, splitter, 2)
      result = split(self.ls, splitter)
      assert result.geoms[0].coords[:] == [(0, 0), (0.0, 0.5)]
      assert result.geoms[1].coords[:] == [
          (0.0, 0.5),
          (0, 1),
          (1, 1),
          (1, 0),
          (0, 0),
      ]
  
      # previously failed, see GH#585
      splitter = Point([0.5, 0.0])
      self.helper(self.ls, splitter, 2)
      result = split(self.ls, splitter)
      assert result.geoms[0].coords[:] == [
          (0, 0),
          (0, 1),
          (1, 1),
          (1, 0),
          (0.5, 0),
      ]
      assert result.geoms[1].coords[:] == [(0.5, 0), (0, 0)]
  
      splitter = Point([2.0, 2.0])
      self.helper(self.ls, splitter, 1)
  
imports: import unittest
  import pytest
  from shapely.errors import GeometryTypeError
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.ops import linemerge, split, unary_union
label_desc: Use image node_id 1 for calling the TestSplitClosedRing obj's underlying member method code with example usage: obj.test_split_closed_ring_with_point() without return types