code: def test_time_series(self):
      mock = tests.mocks.pipelines.MockData(sort_by=None)
      self.assertEqual(mock.training_data["a"].max(), 8)
      self.assertEqual(mock.validation_data["a"].max(), 9)
      self.assertEqual(mock.test_data["a"].max(), 10)
  
      mock = tests.mocks.pipelines.MockData(sort_by="a")
      self.assertEqual(mock.training_data["a"].max(), 8)
      self.assertEqual(mock.validation_data["a"].max(), 9)
      self.assertEqual(mock.test_data["a"].max(), 10)
  
      mock = tests.mocks.pipelines.MockData(sort_by="b")
      self.assertEqual(mock.training_data["b"].max(), 28)
      self.assertEqual(mock.validation_data["b"].max(), 29)
      self.assertEqual(mock.test_data["b"].max(), 30)
  
file_path: lore/tests/unit/test_pipelines.py
imports: from __future__ import generators
  import unittest
  import pandas
  import tests.mocks.pipelines
label_desc: Use image node_id 1 for calling the TestTimedTrainTestSplit obj's underlying member method code with example usage: obj.test_time_series() without return types