code: def test_select_all_ones():
      competences = np.ones(100)
      probabilistic_test = BaseProbabilistic()
      probabilistic_test.n_classes_ = 2
      selected_matrix = probabilistic_test.select(competences)
      assert selected_matrix.all()
  
imports: import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.probabilistic import BaseProbabilistic, Logarithmic, Exponential, RRC, DESKL, MinimumDifference
label_desc: Use image node_id 7 for calling a global function with example usage: test_select_all_ones() without return types