def test_q_22_with_quit_directly(self, mock_input):
     self.assertEqual(q_22(), [])
 def test_q_22_with_string(self, mock_input):
     with self.assertRaises(ValueError):
         q_22()
 def test_q_22_with_exit_code_has_space_and_capital_letters(self, mock_input):
     self.assertEqual(q_22(), [1.4, 5.3, 30.3, 83.1])
 def test_q_22_with_negative_float_and_integer(self, mock_input):
     self.assertEqual(q_22(), [1.4, 5.0, 30.0, 83.1])