code: def test_split_line_with_multipoint(self):
      # points on line interior --> return 4 segments
      splitter = MultiPoint([(1, 1), (1.5, 1.5), (0.5, 0.5)])
      self.helper(self.ls, splitter, 4)
  
      # points on line interior and boundary -> return 2 segments
      splitter = MultiPoint([(1, 1), (3, 4)])
      self.helper(self.ls, splitter, 2)
  
      # point on linear interior but twice --> return 2 segments
      splitter = MultiPoint([(1, 1), (1.5, 1.5), (1, 1)])
      self.helper(self.ls, splitter, 3)
  
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 2 for calling the TestSplitLine obj's underlying member method code with example usage: obj.test_split_line_with_multipoint() without return types