code: def test_majority_voting():
      query = np.array([[1, -1], [0, 0], [3, -1]])
  
      ensemble_classifiers = [
          create_base_classifier(return_value=0)
      ] * 10 + [create_base_classifier(return_value=1)] * 9
  
      predicted = majority_voting(ensemble_classifiers, query)
      assert predicted.all() == 0 and predicted.size == 3
  
imports: import pytest
  from deslib.util.aggregation import *
  from ..conftest import create_base_classifier
label_desc: Use image node_id 1 for calling a global function with example usage: test_majority_voting() without return types