code: def test_kmeans_distance() -> None:
      centers = np.array([[1, 2, 3, 4], [3, 4, 5, 6]])
      points = np.array([[1, 2, 3, 4], [3, 4, 5, 6], [1, 2, 5, 6]])
      output = problems._kmeans_distance(points, centers)
      np.testing.assert_equal(output, 8)
  
file_path: nevergrad/nevergrad/functions/mlda/test_problems.py
imports: from unittest.mock import patch
  import numpy
  import pandas
  from ...common import testing
  from .None import problems
label_desc: Use image node_id 1 for calling a global function with example usage: test_kmeans_distance() without return types