code: def test_line_ends_interpolate(self):
      # Distances greater than length of the line or less than
      # zero yield the line's ends.
      assert self.line1.interpolate(-1000).equals(Point(0.0, 0.0))
      assert self.line1.interpolate(1000).equals(Point(2.0, 0.0))
  
file_path: shapely/shapely/tests/legacy/test_linear_referencing.py
imports: import unittest
  import pytest
  import shapely
  from shapely.geometry import LineString, MultiLineString, Point
label_desc: Use image node_id 12 for calling the LinearReferencingTestCase obj's underlying member method code with example usage: obj.test_line_ends_interpolate() without return types