code: def test_measurements():
      workspace, module = make_workspace(
          numpy.zeros((10, 10)), numpy.zeros((10, 10), int)
      )
      assert isinstance(
          module, cellprofiler.modules.measuretexture.MeasureTexture
      )
      for object_name in ("Image", INPUT_OBJECTS_NAME):
          features = module.get_measurements(
              workspace.pipeline,
              object_name,
              cellprofiler.modules.measuretexture.TEXTURE,
          )
          assert all(
              [
                  f in cellprofiler.modules.measuretexture.F_HARALICK
                  for f in features
              ]
          )
          assert all(
              [
                  f in features
                  for f in cellprofiler.modules.measuretexture.F_HARALICK
              ]
          )
  
imports: import io
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.measuretexture
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 7 for calling a global function with example usage: test_measurements() without return types