code: def test_multipolygons_part_offset(range, expected):
      gs = cuspatial.from_geopandas(
          gpd.GeoSeries(
              [
                  Polygon([(0, 1), (0, 2), (0, 18)]),
                  Polygon([(0, 3), (0, 4), (0, 19)]),
                  MultiPolygon(
                      [
                          Polygon([(0, 5), (0, 6), (0, 20)]),
                          Polygon([(0, 7), (0, 8), (0, 21)]),
                      ]
                  ),
                  Polygon([(0, 9), (0, 10), (0, 22)]),
                  MultiPolygon(
                      [
                          Polygon([(0, 11), (0, 12), (0, 13), (0, 22)]),
                          Polygon([(0, 14), (0, 15), (0, 23)]),
                      ]
                  ),
                  Polygon([(0, 16), (0, 17), (0, 24)]),
              ]
          )
      )
      t1 = gs[range]
      got = t1.polygons.part_offset
      expected = cp.array(expected)
      assert cp.array_equal(got, expected)
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/test_geocolumn_accessor.py
imports: import cupy
  import geopandas
  import pytest
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Polygon
  import cuspatial
label_desc: Use image node_id 6 for calling a global function with example usage: test_multipolygons_part_offset(range, expected) without return types