code: def test_train_size_group_names(X, y, group_names):
      cv_args = {"test_size": 1, "train_size": 3}
      expected_results = [
          (np.array([0, 1, 2, 3, 4, 5, 6, 7]), np.array([8, 9])),
          (np.array([1, 2, 3, 4, 5, 6, 7, 8, 9]), np.array([10, 11])),
          (
              np.array([5, 6, 7, 8, 9, 10, 11]),
              np.array([12, 13, 14, 15]),
          ),
      ]
      check_splits(X, y, group_names, cv_args, expected_results)
  
imports: import numpy
  import pytest
  from sklearn.dummy import DummyClassifier
  from sklearn.model_selection import cross_val_score
  from mlxtend.evaluate import GroupTimeSeriesSplit
label_desc: Use image node_id 12 for calling a global function with example usage: test_train_size_group_names(X, y, group_names) without return types