code: def test_index_trick_execution(setup):
      mgrid = nd_grid()
      t = mgrid[0:5, 0:5]
  
      res = t.execute().fetch()
      expected = np.lib.index_tricks.nd_grid()[0:5, 0:5]
      np.testing.assert_equal(res, expected)
  
      t = mgrid[-1:1:5j]
  
      res = t.execute().fetch()
      expected = np.lib.index_tricks.nd_grid()[-1:1:5j]
      np.testing.assert_equal(res, expected)
  
      ogrid = nd_grid(sparse=True)
  
      t = ogrid[0:5, 0:5]
  
      res = [o.execute().fetch() for o in t]
      expected = np.lib.index_tricks.nd_grid(sparse=True)[0:5, 0:5]
      [np.testing.assert_equal(r, e) for r, e in zip(res, expected)]
  
imports: import tempfile
  import shutil
  import os
  import time
  import numpy
  import pandas
  import pytest
  from ....None import tensor
  from ....None import dataframe
  from ....lib.sparse import SparseNDArray
  from ....tests.core import require_cupy
  from ....utils import lazy_import
  from ...lib import nd_grid
  from ..None import tensor, ones_like, zeros, zeros_like, full, full_like, arange, empty, empty_like, diag, diagflat, eye, linspace, meshgrid, indices, triu, tril, from_dataframe, fromtiledb, fromhdf5, fromzarr
label_desc: Use image node_id 15 for calling a global function with example usage: test_index_trick_execution(setup) without return types