code: def test_get_graph_from_branching_areas_and_segments():
      #
      # Regression test of img-1541, branch_areas_binary is not zero
      # but segments_binary is
      #
      module = cellprofiler.modules.untangleworms.UntangleWorms()
      branch_areas = numpy.zeros((31, 15), bool)
      branch_areas[7:25, 7:10] = True
      result = module.get_graph_from_branching_areas_and_segments(
          branch_areas, numpy.zeros(branch_areas.shape, bool)
      )
      assert tuple(branch_areas.shape) == result.image_size
      assert len(result.segment_coords) == 0
      assert len(result.segment_counts) == 0
      assert len(result.segment_order) == 0
      assert len(result.segments) == 0
  
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 41 for calling a global function with example usage: test_get_graph_from_branching_areas_and_segments() without return types