code: def test_select_best_batch():
      competences = np.array(
          [[1.0, 0.5, 0.5], [0.8, 0.9, 1.0], [0.0, 0.0, 0.15]]
      )
      expected = [0, 2, 2]
      dcs_test = BaseDCS(selection_method="best")
      selected_clf = dcs_test.select(competences)
      assert np.array_equal(selected_clf, expected)
  
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from deslib.dcs.base import BaseDCS
label_desc: Use image node_id 9 for calling a global function with example usage: test_select_best_batch() without return types