code: def test_roberts():
      """Test the roberts transform"""
      numpy.random.seed(0)
      image = numpy.random.uniform(size=(20, 20)).astype(numpy.float32)
      workspace, module = make_workspace(image)
      module.method.value = cellprofiler.modules.enhanceedges.M_ROBERTS
      module.run(workspace)
      output = workspace.image_set.get_image(OUTPUT_IMAGE_NAME)
      assert numpy.all(
          output.pixel_data == centrosome.filter.roberts(image)
      )
  
imports: import centrosome.filter
  import centrosome.kirsch
  import centrosome.otsu
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.enhanceedges
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 8 for calling a global function with example usage: test_roberts() without return types