Ejemplo n.º 1
0
def test_I():
    from sympy.functions import sign as sgn
    y = Symbol("y")
    assert gruntz(I * x, x, oo) == I * oo
    assert gruntz(y * I * x, x, oo) == y * I * oo
    assert gruntz(y * 3 * I * x, x, oo) == y * I * oo
    assert gruntz(y * 3 * sin(I) * x, x, oo).simplify() == sgn(y) * I * oo
Ejemplo n.º 2
0
def test_I():
    from sympy.functions import sign as sgn
    y = Symbol("y")
    assert gruntz(I*x, x, oo) == I*oo
    assert gruntz(y*I*x, x, oo) == y*I*oo
    assert gruntz(y*3*I*x, x, oo) == y*I*oo
    assert gruntz(y*3*sin(I)*x, x, oo).simplify() == sgn(y)*I*oo