Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
20204: more doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Oct 18, 2017
1 parent 5010acf commit 14b1c52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sage/interfaces/sympy.py
Expand Up @@ -235,6 +235,10 @@ def _sympysage_function(self):
sage: F = Function('f')
sage: assert f(x)._sympy_() == F(x)
sage: assert f(x) == F(x)._sage_()
sage: assert f(x+3)._sympy_() == F(x+3)
sage: assert f(x+3) == F(x+3)._sage_()
sage: assert (3*f(x))._sympy_() == 3*F(x)
sage: assert 3*f(x) == (3*F(x))._sage_()
Test that functions unknown to Sage raise an exception::
Expand Down

0 comments on commit 14b1c52

Please sign in to comment.