예제 #1
0
파일: test_args.py 프로젝트: Visheshk/sympy
def test_sympy__core__expr__Expr():
    from sympy.core.expr import Expr
    assert _test_args(Expr())
예제 #2
0
def test_diff_wrt_value():
    assert Expr()._diff_wrt is False
    assert x._diff_wrt is True
    assert f(x)._diff_wrt is True
    assert Derivative(f(x), x)._diff_wrt is True
    assert Derivative(x**2, x)._diff_wrt is False