code: def test_fullhistogram():
      A100 = np.arange(100).reshape((10, 10)).astype(np.uint32)
      assert fullhistogram(A100).shape == (100,)
      assert np.all(fullhistogram(A100) == np.ones(100))
  
      A1s = np.ones((12, 12), np.uint8)
      assert fullhistogram(A1s).shape == (2,)
      assert np.all(fullhistogram(A1s) == np.array([0, 144]))
  
      A1s[0] = 0
      A1s[1] = 2
      assert fullhistogram(A1s).shape == (3,)
      assert np.all(fullhistogram(A1s) == np.array([12, 120, 12]))
  
file_path: mahotas/mahotas/tests/test_histogram.py
imports: import numpy
  from mahotas.histogram import fullhistogram
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_fullhistogram() without return types