code: def test_frienemy_not_all_classifiers_crosses(
      example_estimate_competence,
  ):
      expected = np.array([[1, 1, 0], [0, 1, 0], [1, 1, 1]])
      (
          _,
          y,
          neighbors,
          _,
          dsel_processed,
          _,
      ) = example_estimate_competence
  
      # passing three samples to compute the DFP at the same time
      result = frienemy_pruning_preprocessed(
          neighbors[:, :3], y, dsel_processed
      )
      assert np.array_equal(result, expected)
  
file_path: DESlib/deslib/tests/util/test_fire.py
imports: import numpy
  from deslib.util.dfp import frienemy_pruning
  from deslib.util.dfp import frienemy_pruning_preprocessed
  from ..conftest import create_base_classifier
label_desc: Use image node_id 3 for calling a global function with example usage: test_frienemy_not_all_classifiers_crosses(example_estimate_competence) without return types