code: def test_select_three_classes():
      des_p_test = DESP()
      des_p_test.n_classes_ = 3
      expected = np.array(
          [
              [True, False, True],
              [True, False, True],
              [False, True, False],
          ]
      )
  
      competences = np.array(
          [[0.34, 0.32, 1.0], [0.50, 0.30, 1.01], [0.25, 1.0, 0.25]]
      )
  
      selected = des_p_test.select(competences)
  
      assert np.array_equal(selected, expected)
  
file_path: DESlib/deslib/tests/des/test_desp.py
imports: import numpy
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.des_p import DESP
label_desc: Use image node_id 4 for calling a global function with example usage: test_select_three_classes() without return types