code: def test_against_slow(p0, p1, cm):
      A = (np.arange(2048) % 14).reshape((32, -1))
      assert moments(A, p0, p1, cm) == _slow(A, p0, p1, cm)
  
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 3 for calling a global function with example usage: test_against_slow(p0, p1, cm) without return types