code: def test_array_like(xp, orig_arr, array_func):
      cp_func = getattr(cupy, array_func)
      xp_func = getattr(xp, array_func)
  
      cp_a = cp_func([1, 2, 3])
      xp_a = xp_func(
          orig_arr([1, 2, 3]), like=da.from_array(cupy.array(()))
      )
      assert isinstance(xp_a, da.Array)
      assert isinstance(xp_a._meta, cupy.ndarray)
      assert_eq(xp_a, cp_a)
  
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask
  import dask.array
  from dask.array.utils import assert_eq
  from dask.sizeof import sizeof
label_desc: Use image node_id 17 for calling a global function with example usage: test_array_like(xp, orig_arr, array_func) without return types