Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 13, 2024
1 parent e3273f2 commit 57a34e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ end

latex = CustomLaTeXPrint(" \$\$ \\[\\(α_β∀ \\) \\]\t \$\$")
a = SA.AlgebraElement(SA.SparseCoefficients([p], [latex]), RG)
# Tests that `getindex` works even if `zero(typeof(latex))` is not defined
@test SA.coeffs(a)[p] == latex
@test sprint((io, x) -> show(io, "text/latex", x), a) ==
"\$\$ (α_β∀) \\cdot b·c \$\$"
Expand Down

0 comments on commit 57a34e0

Please sign in to comment.