class_docstr: Test some basic splitters.
docstr: Test that splitters use the random seed correctly.
code: def test_random_seed(self):
      """Test that splitters use the random seed correctly."""
      dataset = load_solubility_data()
      splitter = dc.splits.RandomSplitter()
      train1, valid1, test1 = splitter.train_valid_test_split(
          dataset, seed=1
      )
      train2, valid2, test2 = splitter.train_valid_test_split(
          dataset, seed=2
      )
      train3, valid3, test3 = splitter.train_valid_test_split(
          dataset, seed=1
      )
      assert np.array_equal(train1.X, train3.X)
      assert np.array_equal(valid1.X, valid3.X)
      assert np.array_equal(test1.X, test3.X)
      assert not np.array_equal(train1.X, train2.X)
      assert not np.array_equal(valid1.X, valid2.X)
      assert not np.array_equal(test1.X, test2.X)
  
imports: import os
  import unittest
  import numpy
  import deepchem
  from deepchem.data import NumpyDataset
  from deepchem.splits import IndexSplitter
label_desc: Use image node_id 24 for calling the TestSplitter obj's underlying member method code with example usage: obj.test_random_seed() without return types