Skip to content

Commit

Permalink
Implement printing tests for quantum module
Browse files Browse the repository at this point in the history
This commit implements tests for all printing methods in the quantum
module. No changes are made to the printing methods, this is just to
establish a baseline for verifying valid output capable of working in
the ipython Qt console and html notebook.

Note XFAIL tests show where there are errors in the printing methods.
  • Loading branch information
flacjacket committed Feb 19, 2012
1 parent 5f47c9d commit 2edc5c2
Show file tree
Hide file tree
Showing 2 changed files with 775 additions and 2 deletions.
3 changes: 1 addition & 2 deletions sympy/physics/quantum/cg.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ class Wigner3j(Expr):
>>> from sympy.physics.quantum.cg import Wigner3j
>>> w3j = Wigner3j(6,0,4,0,2,0)
>>> w3j
(6, 4, 2)
(0, 0, 0)
Wigner3j(6,4,2,0,0,0)
>>> w3j.doit()
sqrt(715)/143
Expand Down
Loading

0 comments on commit 2edc5c2

Please sign in to comment.