code: def test_01_get_measurements():
      module = (
          cellprofiler.modules.measureobjectintensitydistribution.MeasureObjectIntensityDistribution()
      )
      module.images_list.value = "DNA, Cytoplasm, Actin"
      for i, object_name, center_name in (
          (0, "Nucleii", None),
          (1, "Cells", "Nucleii"),
          (2, "Cytoplasm", "Nucleii"),
      ):
          if i:
              module.add_object()
          module.objects[i].object_name.value = object_name
          if center_name is None:
              module.objects[
                  i
              ].center_choice.value = (
                  cellprofiler.modules.measureobjectintensitydistribution.C_SELF
              )
          else:
              module.objects[
                  i
              ].center_choice.value = (
                  cellprofiler.modules.measureobjectintensitydistribution.C_CENTERS_OF_OTHER
              )
              module.objects[i].center_object_name.value = center_name
      for i, bin_count in ((0, 4), (0, 5), (0, 6)):
          if i:
              module.add_bin_count()
          module.bin_counts[i].bin_count.value = bin_count
  
      for object_name in [x.object_name.value for x in module.objects]:
          assert tuple(module.get_categories(None, object_name)) == (
              cellprofiler.modules.measureobjectintensitydistribution.M_CATEGORY,
          )
          for (
              feature
          ) in (
              cellprofiler.modules.measureobjectintensitydistribution.F_ALL
          ):
              assert feature in module.get_measurements(
                  None,
                  object_name,
                  cellprofiler.modules.measureobjectintensitydistribution.M_CATEGORY,
              )
          for image_name in module.images_list.value:
              for (
                  feature
              ) in (
                  cellprofiler.modules.measureobjectintensitydistribution.F_ALL
              ):
                  assert image_name in module.get_measurement_images(
                      None,
                      object_name,
                      cellprofiler.modules.measureobjectintensitydistribution.M_CATEGORY,
                      feature,
                  )
              for bin_count in [
                  x.bin_count.value for x in module.bin_counts
              ]:
                  for bin in range(1, bin_count + 1):
                      for (
                          feature
                      ) in (
                          cellprofiler.modules.measureobjectintensitydistribution.F_ALL
                      ):
                          assert "%dof%d" % (
                              bin,
                              bin_count,
                          ) in module.get_measurement_scales(
                              None,
                              object_name,
                              cellprofiler.modules.measureobjectintensitydistribution.M_CATEGORY,
                              feature,
                              image_name,
                          )
  
imports: import io
  import centrosome.propagate
  import numpy
  import scipy.stats
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureobjectintensitydistribution
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 11 for calling a global function with example usage: test_01_get_measurements() without return types