code: def test_moments01():
      im = np.zeros((16, 16))
      im += np.arange(16)
      im -= im.mean()
      assert np.abs(mh.moments(im, 1, 0)) < 0.1
  
file_path: mahotas/mahotas/tests/test_moments.py
imports: import numpy
  import mahotas
  from mahotas.features.moments import moments
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_moments01() without return types