code: def test_Cast(self) -> None:
      self.assertEqual(self.param2.cast(2.5), 2)
      self.assertEqual(self.param2.cast(3), 3)
      self.assertEqual(self.param2.cast(None), None)
  
imports: from ax.core.parameter import _get_parameter_type, ChoiceParameter, EPS, FixedParameter, ParameterType, RangeParameter
  from ax.exceptions.core import UserInputError
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 9 for calling the RangeParameterTest obj's underlying member method code with example usage: obj.test_Cast() without return types