Commit f99abf99 authored by Romain Casati's avatar Romain Casati
Browse files

Sympy added to tests.

parent c5ae5e82
......@@ -35,8 +35,14 @@ def test_pandas(selenium):
def test_sympy(selenium):
#assert False
pass
result = selenium.run_basthon("""
import sympy
from sympy.abc import x
sympy.pretty_print(sympy.sqrt(x ** 2 + sympy.pi))
""")
assert result['stderr'] == ""
assert result['display']['display_type'] == 'sympy'
assert result['display']['content'] == "$$\\sqrt{x^{2} + \\pi}$$"
def test_turtle(selenium):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment