code: def test_use_all_thresholding_methods():
      workspace = make_workspace(numpy.zeros((100, 100)))
      q = workspace.module
      q.image_groups[0].check_blur.value = False
      q.image_groups[0].check_saturation.value = False
      q.image_groups[0].check_intensity.value = False
      q.image_groups[0].calculate_threshold.value = True
      q.image_groups[0].use_all_threshold_methods.value = True
      q.run(workspace)
      m = workspace.measurements
      for feature_name in [
          "ImageQuality_ThresholdOtsu_my_image_2S",
          "ImageQuality_ThresholdOtsu_my_image_2W",
          "ImageQuality_ThresholdOtsu_my_image_3BW",
          "ImageQuality_ThresholdOtsu_my_image_3BS",
          "ImageQuality_ThresholdOtsu_my_image_3FS",
          "ImageQuality_ThresholdOtsu_my_image_3FW",
          "ImageQuality_ThresholdMoG_my_image_5",
          "ImageQuality_ThresholdMoG_my_image_75",
          "ImageQuality_ThresholdMoG_my_image_95",
          "ImageQuality_ThresholdMoG_my_image_25",
          "ImageQuality_ThresholdBackground_my_image",
          "ImageQuality_ThresholdRobustBackground_my_image",
          "ImageQuality_ThresholdKapur_my_image",
          "ImageQuality_ThresholdRidlerCalvard_my_image",
      ]:
          assert m.has_current_measurements("Image", feature_name)
      features_and_columns_match(m, q)
  
imports: import io
  import centrosome.threshold
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, EXPERIMENT
  from cellprofiler_core.constants.module._identify import O_FOREGROUND, O_THREE_CLASS, O_WEIGHTED_VARIANCE, O_TWO_CLASS, O_ENTROPY, O_BACKGROUND
  import cellprofiler.modules.measureimagequality
  import cellprofiler_core.modules.namesandtypes
  import cellprofiler.modules.smooth
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 16 for calling a global function with example usage: test_use_all_thresholding_methods() without return types