Skip to content

Commit

Permalink
print negative imag value
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Feb 23, 2020
1 parent da59bd8 commit 443013b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ Random.seed!(0)
@test_nowarn println(0p)
@test_nowarn show(stdout, MIME"text/x-latex"(), 0p); println()
@test_nowarn show(stdout, MIME"text/x-latex"(), p + im*p); println()
@test_nowarn show(stdout, MIME"text/x-latex"(), p - im*p); println()
@test_nowarn show(stdout, MIME"text/x-latex"(), im*p); println()
@test_nowarn show(stdout, MIME"text/x-latex"(), -im*p); println()

@test_nowarn display([p, p])
@test_nowarn println([p, p])
Expand Down

0 comments on commit 443013b

Please sign in to comment.