code: def test_neighbors_zeros():
      blank_labels = numpy.zeros((20, 10), int)
      one_object = numpy.zeros((20, 10), int)
      one_object[2:-2, 2:-2] = 1
  
      cases = (
          (blank_labels, blank_labels, 0, 0),
          (blank_labels, one_object, 0, 1),
          (one_object, blank_labels, 1, 0),
      )
      for olabels, nlabels, ocount, ncount in cases:
          for mode in cellprofiler.modules.measureobjectneighbors.D_ALL:
              workspace, module = make_workspace(
                  olabels, mode, neighbors_labels=nlabels
              )
              assert isinstance(
                  module,
                  cellprofiler.modules.measureobjectneighbors.MeasureObjectNeighbors,
              )
              module.run(workspace)
              m = workspace.measurements
              assert isinstance(
                  m, cellprofiler_core.measurement.Measurements
              )
              for feature in module.all_features:
                  v = m.get_current_measurement(
                      OBJECTS_NAME, module.get_measurement_name(feature)
                  )
                  assert len(v) == ocount
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_INTEGER, COLTYPE_FLOAT, NEIGHBORS, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.measurement import RelationshipKey
  import cellprofiler.modules.measureobjectneighbors
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 17 for calling a global function with example usage: test_neighbors_zeros() without return types