code: def test_partition_of_multiple_intervals(
      self, interval_size, expected
  ):
      rangeset = ranges.RangeSet(
          [
              ranges.make_range("1", 0, 10),
              ranges.make_range("1", 20, 40),
              ranges.make_range("1", 45, 50),
          ]
      )
      self.assertCountEqual(
          [ranges.make_range(*args) for args in expected],
          rangeset.partition(interval_size),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  import mock
  from third_party.nucleus.protos import position_pb2
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 28 for calling the RangesTests obj's underlying member method code with example usage: obj.test_partition_of_multiple_intervals(interval_size, expected) without return types