code: def test_mask():
      numpy.random.seed(81)
      images_and_masks = [
          (
              numpy.random.uniform(size=(10, 10)),
              numpy.random.uniform(size=(10, 10)) > 0.3,
          )
          for i in range(3)
      ]
      expected = numpy.ones((10, 10), bool)
      for _, mask in images_and_masks:
          expected = expected & mask
      image = run_image_set(
          cellprofiler.modules.makeprojection.P_MASK, images_and_masks
      )
      assert numpy.all(image.pixel_data == expected)
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.makeprojection
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 17 for calling a global function with example usage: test_mask() without return types