code: def test_split_zero():
      labels, workspace = rruunn(
          numpy.zeros((10, 20), int),
          cellprofiler.modules.splitormergeobjects.OPTION_SPLIT,
      )
      assert numpy.all(labels == 0)
      assert labels.shape[0] == 10
      assert labels.shape[1] == 20
  
      assert isinstance(
          workspace, cellprofiler_core.workspace.Workspace
      )
      m = workspace.measurements
      assert isinstance(m, cellprofiler_core.measurement.Measurements)
      count = m.get_current_image_measurement(
          FF_COUNT % OUTPUT_OBJECTS_NAME
      )
      assert count == 0
      for feature_name in (
          M_LOCATION_CENTER_X,
          M_LOCATION_CENTER_Y,
      ):
          values = m.get_current_measurement(
              OUTPUT_OBJECTS_NAME, feature_name
          )
          assert len(values) == 0
  
      module = workspace.module
      assert isinstance(
          module,
          cellprofiler.modules.splitormergeobjects.SplitOrMergeObjects,
      )
      columns = module.get_measurement_columns(workspace.pipeline)
      assert len(columns) == 6
      for object_name, feature_name, coltype in (
          (
              OUTPUT_OBJECTS_NAME,
              M_LOCATION_CENTER_X,
              COLTYPE_FLOAT,
          ),
          (
              OUTPUT_OBJECTS_NAME,
              M_LOCATION_CENTER_Y,
              COLTYPE_FLOAT,
          ),
          (
              OUTPUT_OBJECTS_NAME,
              M_NUMBER_OBJECT_NUMBER,
              COLTYPE_INTEGER,
          ),
          (
              INPUT_OBJECTS_NAME,
              FF_CHILDREN_COUNT % OUTPUT_OBJECTS_NAME,
              COLTYPE_INTEGER,
          ),
          (
              OUTPUT_OBJECTS_NAME,
              FF_PARENT % INPUT_OBJECTS_NAME,
              COLTYPE_INTEGER,
          ),
          (
              "Image",
              FF_COUNT % OUTPUT_OBJECTS_NAME,
              COLTYPE_INTEGER,
          ),
      ):
          assert any(
              [
                  object_name == c[0]
                  and feature_name == c[1]
                  and coltype == c[2]
                  for c in columns
              ]
          )
      categories = module.get_categories(workspace.pipeline, "Image")
      assert len(categories) == 1
      assert categories[0] == "Count"
      categories = module.get_categories(
          workspace.pipeline, OUTPUT_OBJECTS_NAME
      )
      assert len(categories) == 3
      assert any(["Location" in categories])
      assert any(["Parent" in categories])
      assert any(["Number" in categories])
      categories = module.get_categories(
          workspace.pipeline, INPUT_OBJECTS_NAME
      )
      assert len(categories) == 1
      assert categories[0] == "Children"
      f = module.get_measurements(workspace.pipeline, "Image", "Count")
      assert len(f) == 1
      assert f[0] == OUTPUT_OBJECTS_NAME
      f = module.get_measurements(
          workspace.pipeline, OUTPUT_OBJECTS_NAME, "Location"
      )
      assert len(f) == 2
      assert all(
          [any([x == y for y in f]) for x in ("Center_X", "Center_Y")]
      )
      f = module.get_measurements(
          workspace.pipeline, OUTPUT_OBJECTS_NAME, "Parent"
      )
      assert len(f) == 1
      assert f[0] == INPUT_OBJECTS_NAME
  
      f = module.get_measurements(
          workspace.pipeline, OUTPUT_OBJECTS_NAME, "Number"
      )
      assert len(f) == 1
      assert f[0] == "Object_Number"
  
      f = module.get_measurements(
          workspace.pipeline, INPUT_OBJECTS_NAME, "Children"
      )
      assert len(f) == 1
      assert f[0] == "%s_Count" % OUTPUT_OBJECTS_NAME
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import M_LOCATION_CENTER_X, M_LOCATION_CENTER_Y, FF_COUNT, FF_PARENT, COLTYPE_FLOAT, M_NUMBER_OBJECT_NUMBER, COLTYPE_INTEGER, FF_CHILDREN_COUNT
  import cellprofiler.modules.splitormergeobjects
  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_split_zero() without return types