code: def test_measurement_columns():
      """Test get_measurement_columns"""
      workspace, module = make_workspace(
          numpy.zeros((20, 10), int),
          cellprofiler.modules.maskobjects.P_MASK,
          numpy.zeros((20, 10), int),
      )
      columns = module.get_measurement_columns(workspace.pipeline)
      assert len(columns) == 6
      for expected in (
          (
              "Image",
              FF_COUNT % OUTPUT_OBJECTS,
              COLTYPE_INTEGER,
          ),
          (
              OUTPUT_OBJECTS,
              M_LOCATION_CENTER_X,
              COLTYPE_FLOAT,
          ),
          (
              OUTPUT_OBJECTS,
              M_LOCATION_CENTER_Y,
              COLTYPE_FLOAT,
          ),
          (
              OUTPUT_OBJECTS,
              FF_PARENT % INPUT_OBJECTS,
              COLTYPE_INTEGER,
          ),
          (
              OUTPUT_OBJECTS,
              M_NUMBER_OBJECT_NUMBER,
              COLTYPE_INTEGER,
          ),
          (
              INPUT_OBJECTS,
              FF_CHILDREN_COUNT % OUTPUT_OBJECTS,
              COLTYPE_INTEGER,
          ),
      ):
          assert any(
              [
                  all([c in e for c, e in zip(column, expected)])
                  for column in columns
              ]
          )
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  import cellprofiler_core.modules
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_INTEGER, M_LOCATION_CENTER_X, COLTYPE_FLOAT, M_LOCATION_CENTER_Y, FF_PARENT, M_NUMBER_OBJECT_NUMBER, FF_CHILDREN_COUNT, C_COUNT, C_LOCATION, C_NUMBER, C_PARENT, C_CHILDREN, FTR_CENTER_X, FTR_CENTER_Y, FTR_OBJECT_NUMBER
  import cellprofiler.modules.maskobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 5 for calling a global function with example usage: test_measurement_columns() without return types