code: def test_phase_with_two_parameters(self):
      steps = 4
      phase = Phase(
          lr=linspace(1, 0, steps), momentum=cosinespace(0.8, 1, steps)
      )
      self.assertEqual(len(list(phase)), steps)
      for params in phase:
          self.assertEqual(len(params), 2)
  
          self.assertTrue("lr" in params)
          self.assertTrue(0 <= params["lr"] <= 1)
  
          self.assertTrue("momentum" in params)
          self.assertTrue(0.8 <= params["momentum"] <= 1)
  
imports: import unittest
  from poutyne import OptimizerPolicy, Phase, cosinespace, linspace, one_cycle_phases, sgdr_phases
label_desc: Use image node_id 3 for calling the TestPhase obj's underlying member method code with example usage: obj.test_phase_with_two_parameters() without return types