code: def _test_sum_via_iterators(Y):
      for axis in range(4):
          Z = sum_via_iterators(Y, axis)
          assert_almost_equal(Z, Y.sum(axis))
          ZT = sum_via_iterators(Y.T, axis)
          assert_almost_equal(ZT, Y.T.sum(axis))
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..None import c_types, copy_vector, copy_via_iterators, fff_type, npy_type, pass_array, pass_matrix, pass_vector, pass_vector_via_iterator, sum_via_iterators
label_desc: Use image node_id 30 for calling a global function with example usage: _test_sum_via_iterators(Y) without return types