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