code: def test_haralick3d():
      np.random.seed(22)
      img = mahotas.stretch(255 * np.random.rand(20, 20, 4))
      features = texture.haralick(img)
      assert features.shape == (13, 13)
  
      features = texture.haralick(img[:, :, 0])
      assert features.shape == (4, 13)
  
      features = texture.haralick(
          img.max(0),
          ignore_zeros=True,
          preserve_haralick_bug=True,
          compute_14th_feature=True,
      )
      assert features.shape == (4, 14)
  
imports: import numpy
  from mahotas.features import texture
  import mahotas
  import mahotas.features._texture
  import pytest
label_desc: Use image node_id 13 for calling a global function with example usage: test_haralick3d() without return types