code: def test_BadCreations(self) -> None:
      with self.assertRaises(UserInputError):
          RangeParameter("x", ParameterType.STRING, 1, 3)
  
      with self.assertRaises(UserInputError):
          RangeParameter("x", ParameterType.FLOAT, 3, 1)
  
      with self.assertRaises(UserInputError):
          RangeParameter("x", ParameterType.INT, 0, 1, log_scale=True)
  
      with self.assertRaises(UserInputError):
          RangeParameter("x", ParameterType.INT, 0.5, 1)
  
      with self.assertRaises(UserInputError):
          RangeParameter(
              "x", ParameterType.INT, 0.5, 1, is_fidelity=True
          )
  
      with self.assertRaisesRegex(
          UserInputError,
          "likely to cause numerical errors. Consider reparameterizing",
      ):
          RangeParameter("x", ParameterType.FLOAT, EPS, 2 * EPS)
  
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 6 for calling the RangeParameterTest obj's underlying member method code with example usage: obj.test_BadCreations() without return types