code: def test_reflect():
      x = cupy.arange(10)
      d = da.from_array(x, chunks=(5, 5), asarray=False)
  
      e = da.overlap.reflect(d, axis=0, depth=2)
      expected = np.array([1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 8])
      assert_eq(e, expected, check_type=False)
  
      e = da.overlap.reflect(d, axis=0, depth=1)
      expected = np.array([0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9])
      assert_eq(e, expected, check_type=False)
  
file_path: dask/dask/array/tests/test_cupy_overlap.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask.array
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 4 for calling a global function with example usage: test_reflect() without return types