code: def test_one():
      """Test a labels matrix with a single object"""
      labels = numpy.zeros((10, 10), int)
      labels[3:5, 4:6] = 1
      workspace, module = make_workspace(
          labels,
          cellprofiler.modules.measureobjectneighbors.D_EXPAND,
          5,
      )
      module.run(workspace)
      m = workspace.measurements
      neighbors = m.get_current_measurement(
          OBJECTS_NAME, "Neighbors_NumberOfNeighbors_Expanded"
      )
      assert len(neighbors) == 1
      assert neighbors[0] == 0
      pct = m.get_current_measurement(
          OBJECTS_NAME, "Neighbors_PercentTouching_Expanded"
      )
      assert len(pct) == 1
      assert pct[0] == 0
  
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 4 for calling a global function with example usage: test_one() without return types