code: def test_even_splits_subsplit():
      split_infos = splits_lib.SplitDict(
          split_infos=[
              splits_lib.SplitInfo(
                  name="train",
                  shard_lengths=[2, 3, 2, 3],  # 10
                  num_bytes=0,
                  filename_template=_filename_template("train"),
              ),
              splits_lib.SplitInfo(
                  name="test",
                  shard_lengths=[8],
                  num_bytes=0,
                  filename_template=_filename_template("test"),
              ),
          ]
      )
  
      # Test to split multiple splits
      subsplits = subsplits_utils.even_splits("train+test[50%:]", 3)
  
      expected = [
          "train[:4]+test[4:6]",
          "train[4:7]+test[6:7]",
          "train[7:]+test[7:8]",
      ]
  
      file_instructions = [
          split_infos[s].file_instructions for s in subsplits
      ]
      expected_file_instructions = [
          split_infos[s].file_instructions for s in expected
      ]
      assert file_instructions == expected_file_instructions
  
file_path: datasets/tensorflow_datasets/core/subsplits_utils_test.py
imports: import pytest
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import subsplits_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_even_splits_subsplit() without return types