code: def test_quintuple_execution(setup, func):
      sp_func = getattr(spspecial, func)
      mt_func = getattr(mt_special, func)
  
      raw1 = np.random.rand(4, 3, 2)
      raw2 = np.random.rand(4, 3, 2)
      raw3 = np.random.rand(4, 3, 2)
      raw4 = np.random.rand(4, 3, 2)
      raw5 = np.random.rand(4, 3, 2)
      a = tensor(raw1, chunk_size=3)
      b = tensor(raw2, chunk_size=3)
      c = tensor(raw3, chunk_size=3)
      d = tensor(raw4, chunk_size=3)
      e = tensor(raw5, chunk_size=3)
  
      r = mt_func(a, b, c, d, e)
  
      result = r.execute().fetch()
      expected = sp_func(raw1, raw2, raw3, raw4, raw5)
  
      np.testing.assert_array_equal(result, expected)
  
      # test sparse
      raw1 = sps.csr_matrix(
          np.array([0, 1.0, 1.01, np.nan] * 3).reshape(4, 3)
      )
      a = tensor(raw1, chunk_size=3)
      raw2 = np.random.rand(4, 3)
      b = tensor(raw2, chunk_size=3)
      raw3 = np.random.rand(4, 3)
      c = tensor(raw3, chunk_size=3)
      raw4 = np.random.rand(4, 3)
      d = tensor(raw4, chunk_size=3)
      raw5 = np.random.rand(4, 3)
      e = tensor(raw5, chunk_size=3)
  
      r = mt_func(a, b, c, d, e)
  
      result = r.execute().fetch()
  
      expected = sp_func(raw1.toarray(), raw2, raw3, raw4, raw5)
      np.testing.assert_array_equal(result.toarray(), expected)
  
file_path: mars/mars/tensor/special/tests/test_special_execution.py
imports: import numpy
  import pytest
  import scipy
  import scipy.sparse
  import scipy.special
  from ....lib.version import parse
  from ...None import tensor
  from ...None import special
label_desc: Use image node_id 5 for calling a global function with example usage: test_quintuple_execution(setup, func) without return types