Skip to content

Commit

Permalink
fix factorial test
Browse files Browse the repository at this point in the history
  • Loading branch information
anandijain committed Jun 28, 2021
1 parent c531ee0 commit 10526e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MathML"
uuid = "abcecc63-2b08-419c-80c4-c63dca6fa478"
authors = ["anand <anandj@uchicago.edu> and contributors"]
version = "0.1.6"
version = "0.1.7"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion test/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ str = """

# factorial
str = "<apply><factorial/><ci>x</ci></apply>"
@test isequal(MathML.parse_str(str), SpecialFunctions.gamma(1 + x))
@test isequal(MathML.parse_str(str), factorial(x))

str = "<apply><factorial/><cn>5</cn></apply>"
@test MathML.parse_str(str) == 120
Expand Down

0 comments on commit 10526e1

Please sign in to comment.