code: def test_min_max_round_funcs():
      # Regression test for gh-5031
      image = da.from_array(np.array([[0, 1], [1, 2]]), chunks=(1, 2))
      # These use __array_function__ (and min/max/round are aliased,
      # to amin/amax/round_ in numpy)
      assert int(np.min(image)) == 0
      assert int(np.max(image)) == 2
      assert np.round(image)[1, 1] == 2
  
file_path: dask/dask/array/tests/test_numpy_compat.py
imports: from __future__ import annotations
  import numpy
  import pytest
  import dask.array
  from dask.array.utils import assert_eq
label_desc: Use image node_id 4 for calling a global function with example usage: test_min_max_round_funcs() without return types