code: def test_splits():
      oob = BootstrapOutOfBag(n_splits=3, random_seed=123)
      results = list(oob.split(np.array([1, 2, 3, 4, 5])))
      assert len(results) == 3
      assert np.array_equal(results[0][0], np.array([2, 4, 2, 1, 3]))
      assert np.array_equal(results[0][1], np.array([0]))
      assert np.array_equal(results[-1][0], np.array([1, 1, 0, 0, 1]))
      assert np.array_equal(results[-1][1], np.array([2, 3, 4]))
  
imports: import numpy
  from mlxtend.evaluate import BootstrapOutOfBag
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_splits() without return types