Skip to content

Commit

Permalink
Added test case
Browse files Browse the repository at this point in the history
  • Loading branch information
madan96 committed Dec 16, 2016
1 parent 2aab85e commit d552ce8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sympy/printing/pretty/tests/test_pretty.py
Original file line number Diff line number Diff line change
Expand Up @@ -5788,3 +5788,15 @@ def test_pretty_UnevaluatedExpr():
x\
''')
assert upretty(x*he) == ucode_str


def test_issue_10472():
M = (Matrix([[0, 0], [0, 0]]), Matrix([0, 0]))

ucode_str = \
u("""\
⎛⎡0 0⎤ ⎡0⎤⎞
⎜⎢ ⎥, ⎢ ⎥⎟
⎝⎣0 0⎦ ⎣0⎦⎠\
""")
assert upretty(M) == ucode_str

0 comments on commit d552ce8

Please sign in to comment.