code: def test_zeros():
      workspace = make_workspace(numpy.zeros((100, 100)))
      q = workspace.module
      q.image_groups[0].check_blur.value = True
      q.image_groups[0].check_saturation.value = True
      q.image_groups[0].check_intensity.value = True
      q.image_groups[0].calculate_threshold.value = False
      q.image_groups[0].scale_groups[0].scale.value = 20
      q.run(workspace)
      m = workspace.measurements
      for feature_name, value in (
          ("ImageQuality_FocusScore_my_image", 0),
          ("ImageQuality_LocalFocusScore_my_image_20", 0),
          ("ImageQuality_Correlation_my_image_20", 0),
          ("ImageQuality_PercentMaximal_my_image", 100),
          ("ImageQuality_PercentMinimal_my_image", 100),
          ("ImageQuality_PowerLogLogSlope_my_image", 0),
          ("ImageQuality_TotalIntensity_my_image", 0),
          ("ImageQuality_MeanIntensity_my_image", 0),
          ("ImageQuality_MedianIntensity_my_image", 0),
          ("ImageQuality_StdIntensity_my_image", 0),
          ("ImageQuality_MADIntensity_my_image", 0),
          ("ImageQuality_MaxIntensity_my_image", 0),
          ("ImageQuality_MinIntensity_my_image", 0),
      ):
          assert m.has_current_measurements("Image", feature_name), (
              "Missing feature %s" % feature_name
          )
          m_value = m.get_current_measurement("Image", feature_name)
          if not value is None:
              assert (
                  m_value == value
              ), "Measured value, %f, for feature %s was not %f" % (
                  m_value,
                  feature_name,
                  value,
              )
      features_and_columns_match(m, q, pipeline=workspace.pipeline)
  
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 2 for calling a global function with example usage: test_zeros() without return types