code: def test_cosinespace_decreasing(self):
      self.assert_space(cosinespace(1, 0, 2), [1, 0])
      self.assert_space(cosinespace(1, 0, 3), [1, 0.5, 0])
  
imports: import unittest
  from poutyne import OptimizerPolicy, Phase, cosinespace, linspace, one_cycle_phases, sgdr_phases
label_desc: Use image node_id 8 for calling the TestSpaces obj's underlying member method code with example usage: obj.test_cosinespace_decreasing() without return types