code: def test_tl_fit_resample():
      tl = TomekLinks()
      X_resampled, y_resampled = tl.fit_resample(X, Y)
  
      X_gt = np.array(
          [
              [0.31230513, 0.1216318],
              [0.68481731, 0.51935141],
              [1.34192108, -0.13367336],
              [0.62366841, -0.21312976],
              [1.61091956, -0.40283504],
              [-0.37162401, -2.19400981],
              [0.74680821, 1.63827342],
              [0.2184254, 0.24299982],
              [0.61472253, -0.82309052],
              [0.19893132, -0.47761769],
              [0.97407872, 0.44454207],
              [1.40301027, -0.83648734],
              [-1.20515198, -1.02689695],
              [-0.23374509, 0.18370049],
              [-0.32635887, -0.29299653],
              [-0.00288378, 0.84259929],
              [1.79580611, -0.02219234],
          ]
      )
      y_gt = np.array(
          [1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0]
      )
      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_tomek_links.py
imports: import numpy
  import pytest
  from sklearn.datasets import make_classification
  from sklearn.utils._testing import assert_array_equal
  from imblearn.under_sampling import TomekLinks
label_desc: Use image node_id 2 for calling a global function with example usage: test_tl_fit_resample() without return types