code: def test_get_measurement_columns(module):
      """test the get_measurement_columns method"""
      module.images_list.value = "MyImage"
  
      module.objects_list.value = "MyObjects1, MyObjects2"
  
      columns = module.get_measurement_columns(None)
  
      assert len(columns) == 2 * (
          len(
              cellprofiler.modules.measureobjectintensity.ALL_MEASUREMENTS
          )
          + len(
              cellprofiler.modules.measureobjectintensity.ALL_LOCATION_MEASUREMENTS
          )
      )
  
      for column in columns:
          assert column[0] in ("MyObjects1", "MyObjects2")
  
          assert column[2], COLTYPE_FLOAT
  
          category = column[1].split("_")[0]
  
          assert category in (
              cellprofiler.modules.measureobjectintensity.INTENSITY,
              C_LOCATION,
          )
  
          if (
              category
              == cellprofiler.modules.measureobjectintensity.INTENSITY
          ):
              assert column[1][column[1].find("_") + 1 :] in [
                  m + "_MyImage"
                  for m in cellprofiler.modules.measureobjectintensity.ALL_MEASUREMENTS
              ]
          else:
              assert column[1][column[1].find("_") + 1 :] in [
                  m + "_MyImage"
                  for m in cellprofiler.modules.measureobjectintensity.ALL_LOCATION_MEASUREMENTS
              ]
  
imports: import math
  import centrosome.outline
  import numpy
  import numpy.testing
  import pytest
  import skimage.measure
  import skimage.segmentation
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import EXPERIMENT, COLTYPE_FLOAT, C_LOCATION
  import cellprofiler.modules.measureobjectintensity
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_measurement_columns(module) without return types