code: def test_process_predictions_ones_zeros(example_diversity_ones_zeros):
      y, y_pred_ones, y_pred_zeros = example_diversity_ones_zeros
      N00, N10, N01, N11 = _process_predictions(
          y, y_pred_ones, y_pred_zeros
      )
      assert (
          (N00 == np.full((5,), 0.0)).all()
          and (N11 == np.full((5,), 0.0)).all()
          and (N01 == np.full((5,), 9.0 / 15.0)).all()
          and (N10 == np.full((5,), 6.0 / 15.0)).all()
      )
  
file_path: DESlib/deslib/tests/util/test_diversity_batch.py
imports: import numpy
  import pytest
  from deslib.util.diversity_batch import _process_predictions, double_fault, Q_statistic, ratio_errors, agreement_measure, disagreement_measure, correlation_coefficient
label_desc: Use image node_id 4 for calling a global function with example usage: test_process_predictions_ones_zeros(example_diversity_ones_zeros) without return types