code: def test_batch_matches_creation_and_methods():
      keys = np.array([[1, 2], [3, 4]])
      distances = np.array([[0.5, 0.6], [0.7, 0.8]])
      counts = np.array([2, 2])
      batch_matches = BatchMatches(
          keys=keys,
          distances=distances,
          counts=counts,
          visited_members=2,
          computed_distances=2,
      )
  
      assert len(batch_matches) == 2
      assert batch_matches[0].keys.tolist() == [1, 2]
      assert batch_matches[0].distances.tolist() == [0.5, 0.6]
      assert batch_matches.to_list() == [
          (1, 0.5),
          (2, 0.6),
          (3, 0.7),
          (4, 0.8),
      ]
  
file_path: usearch/python/scripts/test_tooling.py
imports: import os
  import pytest
  import numpy
  from usearch.io import load_matrix, save_matrix
  from usearch.index import search
  from usearch.eval import random_vectors
  from usearch.index import Match, Matches, BatchMatches, Index, Indexes
label_desc: Use image node_id 5 for calling a global function with example usage: test_batch_matches_creation_and_methods() without return types