code: def test_piecewise_constant(self):
      self.start_tests(name="piecewise-constant")
  
      exploration = dict(
          type="piecewise_constant",
          unit="timesteps",
          boundaries=[1],
          values=[0.1, 0.0],
      )
      self.float_unittest(exploration=exploration)
  
      horizon = dict(
          type="piecewise_constant",
          dtype="int",
          unit="timesteps",
          boundaries=[1],
          values=[1, 2],
      )
      self.int_unittest(horizon=horizon)
  
file_path: tensorforce/test/test_parameters.py
imports: import unittest
  from test.unittest_base import UnittestBase
label_desc: Use image node_id 8 for calling the TestParameters obj's underlying member method code with example usage: obj.test_piecewise_constant() without return types