code: def test_points():
      arr = shapely.from_wkt(
          [
              "POINT (0 0)",
              "POINT (1 1)",
              "POINT EMPTY",
              "POINT EMPTY",
              "POINT (4 4)",
              "POINT EMPTY",
          ]
      )
      typ, result, offsets = shapely.to_ragged_array(arr)
      expected = np.array(
          [
              [0, 0],
              [1, 1],
              [np.nan, np.nan],
              [np.nan, np.nan],
              [4, 4],
              [np.nan, np.nan],
          ]
      )
      assert typ == shapely.GeometryType.POINT
      assert_allclose(result, expected)
      assert len(offsets) == 0
  
      geoms = shapely.from_ragged_array(typ, result)
      assert_geometries_equal(geoms, arr)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose
  import shapely
  from shapely import MultiLineString, MultiPoint, MultiPolygon
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import empty_line_string, empty_line_string_z, geometry_collection, line_string, line_string_z, linear_ring, multi_line_string, multi_line_string_z, multi_point, multi_point_z, multi_polygon, multi_polygon_z, point, point_z, polygon, polygon_z
label_desc: Use image node_id 7 for calling a global function with example usage: test_points() without return types