Skip to content

Commit 6044866

Browse files
committed
add test
1 parent 899f625 commit 6044866

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

symengine/tests/test_matrices.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,3 +725,9 @@ def test_LUdecomp():
725725
for orig, new in p:
726726
res.row_swap(orig, new)
727727
assert res - testmat == zeros(4)
728+
729+
def test_repr_latex():
730+
testmat = DenseMatrix([[0, 2]])
731+
latex_string = testmat._repr_latex_()
732+
assert isinstance(latex_string, str)
733+

0 commit comments

Comments
 (0)