code: def test_candidates_to_windows_merged_close_candidates(
      self, distance
  ):
      # Create five candidates separated by exactly distance from each other:
      # 100, 101, 102, 103, 104 for distance == 1
      # 100, 102, 104, 106, 108 for distance == 2
      candidates = [100 + i * distance for i in range(5)]
      # Which should all be merged together into one giant window.
      expected = [
          ranges.make_range(
              "ref", 100 - distance, max(candidates) + distance
          ),
      ]
      self.config.min_windows_distance = distance
      self.assertEqual(
          window_selector._candidates_to_windows(
              self.config, candidates, "ref"
          ),
          expected,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import fasta
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
  from deepvariant.protos import realigner_pb2
  from deepvariant.realigner import window_selector
label_desc: Use image node_id 13 for calling the WindowSelectorTest obj's underlying member method code with example usage: obj.test_candidates_to_windows_merged_close_candidates(distance) without return types