code: def test_positives():
      np.random.seed(23)
      f = np.random.random_sample((256, 256))
      lbps = lbp(f, 4, 8)
      assert len(np.where(lbps == 0)[0]) < 2
      assert lbps.sum() == f.size
  
file_path: mahotas/mahotas/tests/test_lbp.py
imports: import numpy
  from mahotas.features import _lbp
  import mahotas.thresholding
  from mahotas.features import lbp
  from mahotas.features.lbp import lbp_transform, lbp_names
  from mahotas.tests.utils import luispedro_jpg
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_positives() without return types