code: def test_compute_insert_in_background_multiple_segments(self):
      src_1, dst_1 = helpers.compute_segments(
          name="insert_in_background_multiple",
          src_duration=20.0,
          dst_duration=40.0,
          src_fps=25,
          dst_fps=30,
          metadata=None,
          src_segment_starts=[2.0, 3.0],
          src_segment_ends=[12.0, 13.0],
          bkg_insertion_points=[5.0, 10.0],
          src_ids=["0", "1"],
          transition=None,
      )
      self.assert_equal_segment_lists(
          src_1, [Segment(2.0, 12.0, "0"), Segment(3.0, 13.0, "1")]
      )
      self.assert_equal_segment_lists(
          dst_1, [Segment(5.0, 15.0), Segment(20.0, 30.0)]
      )
  
      src_2, dst_2 = helpers.compute_segments(
          name="insert_in_background_multiple",
          src_duration=20.0,
          dst_duration=50.0,
          src_fps=25,
          dst_fps=30,
          metadata=None,
          src_segment_starts=[2.0, 3.0, 7.0],
          src_segment_ends=[12.0, 13.0, 20.0],
          bkg_insertion_points=[5.0, 10.0, 20.0],
          src_ids=["0", "1", "2"],
          transition=af.TransitionConfig(
              effect=af.TransitionEffect.CIRCLECLOSE, duration=2.0
          ),
      )
      self.assert_equal_segment_lists(
          src_2,
          [
              Segment(3.0, 11.0, "0"),
              Segment(4.0, 12.0, "1"),
              Segment(8.0, 19.0, "2"),
          ],
      )
      self.assert_equal_segment_lists(
          dst_2,
          [
              Segment(4.0, 12.0),
              Segment(15.0, 23.0),
              Segment(31.0, 42.0),
          ],
      )
  
imports: import os
  import unittest
  from typing import List
  from unittest.mock import MagicMock, patch
  from augly.utils import Segment
  from augly.utils.base_paths import ASSETS_BASE_DIR
  from augly.video import helpers
  from augly.video.augmenters import ffmpeg
label_desc: Use image node_id 7 for calling the MetadataUnitTest obj's underlying member method code with example usage: obj.test_compute_insert_in_background_multiple_segments() without return types