code: def test_enn_fit_resample():
      enn = EditedNearestNeighbours()
      X_resampled, y_resampled = enn.fit_resample(X, Y)
  
      X_gt = np.array(
          [
              [-0.10903849, -0.12085181],
              [0.01936241, 0.17799828],
              [2.59928271, 0.93323465],
              [1.92365863, 0.82718767],
              [0.25738379, 0.95564169],
              [0.78318102, 2.59153329],
              [0.52726792, -0.38735648],
          ]
      )
      y_gt = np.array([0, 0, 1, 1, 2, 2, 2])
      assert_array_equal(X_resampled, X_gt)
      assert_array_equal(y_resampled, y_gt)
  
file_path: imbalanced-learn/imblearn/under_sampling/_prototype_selection/tests/test_edited_nearest_neighbours.py
imports: import numpy
  from sklearn.datasets import make_classification
  from sklearn.neighbors import NearestNeighbors
  from sklearn.utils._testing import assert_array_equal
  from imblearn.under_sampling import EditedNearestNeighbours
label_desc: Use image node_id 2 for calling a global function with example usage: test_enn_fit_resample() without return types