def test_math_wrap_domain_error(): func = apply_meta(excel_math_func(lambda x: math.log(x)), name_space={})[0] assert func(-1) == NUM_ERROR
def test_math_wrap_domain_error(): func = apply_meta(excel_math_func(lambda x: math.log(x)))[0] assert func(-1) == NUM_ERROR
def test_math_wrap(value, result): assert apply_meta(excel_math_func(lambda x: x), name_space={})[0](value) == result
def test_math_wrap(value, result): assert apply_meta(excel_math_func(lambda x: x))[0](value) == result