code: def test_PiecewiseScheduler_with_multi_values(self):
      scheduler = PiecewiseScheduler([(0, 0.1), (3, 0.2), (7, 0.3)])
      for i in range(1, 11):
          value = scheduler.step()
          if i < 3:
              assert value == 0.1
          elif i < 7:
              assert value == 0.2
          else:
              assert value == 0.3
  
file_path: PARL/parl/utils/tests/scheduler_test.py
imports: import unittest
  import numpy
  from parl.utils.scheduler import *
label_desc: Use image node_id 1 for calling the TestScheduler obj's underlying member method code with example usage: obj.test_PiecewiseScheduler_with_multi_values() without return types