コード例 #1
0
ファイル: test_autowrap.py プロジェクト: weralwolf/sympy
def test_binary_function():
    x, y = symbols('x y')
    f = binary_function('f', x + y, backend='dummy')
    assert f._imp_() == str(x + y)
コード例 #2
0
ファイル: test_autowrap.py プロジェクト: Bercio/sympy
def test_binary_function():
    x, y = symbols('x y')
    f = binary_function('f', x + y, backend='dummy')
    assert f._imp_() == str(x + y)
コード例 #3
0
def test_binary_function():
    x, y = symbols("x y")
    f = binary_function("f", x + y, backend="dummy")
    assert f._imp_() == str(x + y)
コード例 #4
0
ファイル: test_autowrap.py プロジェクト: msgoff/sympy
def test_binary_function():
    x, y = symbols("x y")
    f = binary_function("f", x + y, backend="dummy")
    assert f._imp_() == str(x + y)