code: def test_get_measurement_columns_percentile_mode(module):
      image_names = ["image%d" % i for i in range(3)]
  
      module.wants_objects.value = False
      module.wants_percentiles.value = True
      module.percentiles.value = "5,10,15"
  
      expected_suffixes = []
  
      for image_name in image_names:
          im = module.images_list.value[-1]
  
          module.images_list.value.append(image_name)
  
          expected_suffixes.append(image_name)
  
      columns = module.get_measurement_columns(None)
  
      assert all([column[0] == "Image" for column in columns])
  
      for expected_suffix in expected_suffixes:
          for feature, coltype in (
              (
                  cellprofiler.modules.measureimageintensity.F_TOTAL_INTENSITY,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_MEAN_INTENSITY,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_MIN_INTENSITY,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_MAX_INTENSITY,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_TOTAL_AREA,
                  COLTYPE_INTEGER,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_PERCENT_MAXIMAL,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_MAD_INTENSITY,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_LOWER_QUARTILE,
                  COLTYPE_FLOAT,
              ),
              (
                  cellprofiler.modules.measureimageintensity.F_UPPER_QUARTILE,
                  COLTYPE_FLOAT,
              ),
              (
                  "Intensity_Percentile_5_%s",
                  COLTYPE_FLOAT,
              ),
              (
                  "Intensity_Percentile_10_%s",
                  COLTYPE_FLOAT,
              ),
              (
                  "Intensity_Percentile_15_%s",
                  COLTYPE_FLOAT,
              ),
          ):
              # feature names are now formatting strings
              feature_name = feature % expected_suffix
  
              assert any(
                  [
                      (
                          column[1] == feature_name
                          and column[2] == coltype
                      )
                      for column in columns
                  ]
              )
  
imports: import numpy
  import numpy.testing
  import pytest
  import skimage.morphology
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, COLTYPE_INTEGER
  import cellprofiler.modules.measureimageintensity
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 18 for calling a global function with example usage: test_get_measurement_columns_percentile_mode(module) without return types