code: def test_zeros():
      workspace = make_workspace(numpy.zeros((10, 10), int))
      module = workspace.module
      module.operand_choice.value = "Objects"
      module.run(workspace)
      m = workspace.measurements
  
      def mn(x):
          return "AreaOccupied_%s_%s" % (
              x,
              module.objects_list.value[0],
          )
  
      assert (
          m.get_current_measurement("Image", mn("AreaOccupied")) == 0.0
      )
      assert m.get_current_measurement("Image", mn("TotalArea")) == 100
  
      columns = module.get_measurement_columns(workspace.pipeline)
      features = m.get_feature_names("Image")
      assert len(columns) == len(features)
      for column in columns:
          assert column[1] in features
  
file_path: CellProfiler/tests/frontend/modules/test_measureimageareaoccupied.py
imports: import numpy
  import six
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureimageareaoccupied
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  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() and returns: unknown