def METHOD_NAME(op, a, b):
    """
    Perform tests for comparison operators.
    Outer parametrization is over operators, the inner over param-param, param-number and number-param combinations.
    """
    val_a = _to_numeric(a)
    val_b = _to_numeric(b)
    assert op(a, b).GetValue() == op(val_a, val_b)