code: def test_split_samples():
      X = np.arange(100.0)
      y = np.arange(100.0)
  
      X_divisions, y_divisions = split_samples(X, y)
  
      assert len(X_divisions[0]) == len(y_divisions[0]) == 75
      assert len(X_divisions[1]) == len(y_divisions[1]) == 25
      assert len(set(X_divisions[0]) | set(X_divisions[1])) == 100
  
file_path: astroML/astroML/utils/tests/test_utils.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal, assert_allclose
  from astroML.utils import log_multivariate_gaussian, convert_2D_cov, completeness_contamination, split_samples
label_desc: Use image node_id 7 for calling a global function with example usage: test_split_samples() without return types