code: def test_fullhistogram_boolean():
      np.random.seed(123)
      A = np.random.rand(128, 128) > 0.5
      H = fullhistogram(A)
      assert H[0] == (~A).sum()
      assert H[1] == A.sum()
  
file_path: mahotas/mahotas/tests/test_histogram.py
imports: import numpy
  from mahotas.histogram import fullhistogram
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_fullhistogram_boolean() without return types