code: def test_empty(dtype):
      points = cuspatial.GeoSeries.from_points_xy(
          cudf.DataFrame(
              {
                  "x": cudf.Series([], dtype=dtype),  # x
                  "y": cudf.Series([], dtype=dtype),  # y
              }
          ).interleave_columns()
      )
      order, quadtree = cuspatial.quadtree_on_points(
          points,
          *bbox_1,  # bbox
          1,  # scale
          1,  # max_depth
          1,  # min_size
      )
      poly_bboxes = cuspatial.polygon_bounding_boxes(
          cuspatial.GeoSeries([])
      )
      poly_bboxes = poly_bboxes.astype(dtype)
      # empty should not throw
      intersections = cuspatial.join_quadtree_and_bounding_boxes(
          quadtree,
          poly_bboxes,
          *bbox_1,
          1,
          1,  # bbox  # scale  # max_depth
      )
      cudf.testing.assert_frame_equal(
          intersections,
          cudf.DataFrame(
              {
                  "bbox_offset": cudf.Series([], dtype=np.uint32),
                  "quad_offset": cudf.Series([], dtype=np.uint32),
              }
          ),
      )
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/spatial/join/test_spatial_join.py
imports: import cupy
  import numpy
  import pytest
  import cudf
  import cuspatial
label_desc: Use image node_id 1 for calling a global function with example usage: test_empty(dtype) without return types