code: def test_float_input():
      "[watershed]: Compare floating point input with integer input"
      f = np.random.random((128, 64))
      f = mh.gaussian_filter(f, 8.0)
      f = mh.gaussian_filter(f, 8.0)
      markers, _ = mh.label(mh.regmin(f))
      f = np.round(f * 2**30)
      wf = mh.cwatershed(f / 2**30.0, markers)
      w32 = mh.cwatershed(f.astype(np.int32), markers)
      assert (wf == w32).mean() > 0.999
  
file_path: mahotas/mahotas/tests/test_watershed.py
imports: import numpy
  import mahotas
  import mahotas
  import sys
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_float_input() without return types