code: def test_trace_two():
      """Trace two objects"""
      module = cellprofiler.modules.untangleworms.UntangleWorms()
      image = numpy.zeros((10, 20), bool)
      image[1:-1, 5] = True
      image[1:-1, 15] = True
      i, j, label, order, distance, count = module.trace_segments(image)
      assert count == 2
      result_order = numpy.zeros(image.shape, int)
      result_order[i, j] = order
      for j in (5, 15):
          assert numpy.all(
              result_order[1:-1, j] == numpy.arange(image.shape[0] - 2)
          )
  
imports: import base64
  import io
  import os
  import tempfile
  import zlib
  import imageio
  import centrosome.outline
  import numpy
  import scipy.ndimage
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.modules
  import cellprofiler.modules.untangleworms
  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_trace_two() without return types