code: def test_constant_schedule():
      """
      test ConstantSchedule
      """
      constant_sched = ConstantSchedule(5)
      for i in range(-100, 100):
          assert np.isclose(constant_sched.value(i), 5)
  
imports: import numpy
  from stable_baselines.common.schedules import ConstantSchedule, PiecewiseSchedule, LinearSchedule
label_desc: Use image node_id 2 for calling a global function with example usage: test_constant_schedule() without return types