code: def test_TO_LS_valid_and_test(self):
      config_dict = {
          "model": "BPR",
          "dataset": "build_dataset",
          "data_path": current_path,
          "load_col": None,
          "eval_args": {
              "split": {"LS": "valid_and_test"},
              "order": "TO",
              "mode": "labeled",
          },
      }
      train_dataset, valid_dataset, test_dataset = split_dataset(
          config_dict=config_dict
      )
      assert (
          train_dataset.inter_feat["item_id"].numpy()
          == list(range(1, 19))
          + [1]
          + [1]
          + [1]
          + [1, 2, 3]
          + list(range(1, 8))
          + list(range(1, 9))
          + list(range(1, 10))
      ).all()
      assert (
          valid_dataset.inter_feat["item_id"].numpy()
          == list(range(19, 20))
          + []
          + []
          + [2]
          + [4]
          + [8]
          + [9]
          + [10]
      ).all()
      assert (
          test_dataset.inter_feat["item_id"].numpy()
          == list(range(20, 21))
          + []
          + [2]
          + [3]
          + [5]
          + [9]
          + [10]
          + [11]
      ).all()
  
imports: import logging
  import os
  import pytest
  from recbole.config import Config
  from recbole.data import create_dataset
  from recbole.utils import init_seed
label_desc: Use image node_id 33 for calling the TestDataset obj's underlying member method code with example usage: obj.test_TO_LS_valid_and_test() without return types