Skip to content

Commit

Permalink
added an extra test for tanh
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Mar 5, 2020
1 parent 9916ac0 commit 86b1b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ end
@test tanh(im*Pi/4) == im
@test tanh(im*Pi/2) == im*Inf
@test tanh(im*Pi/3) == im*tan(Pi/3)
@test tanh(2+im*Pi) tanh(2+im*π)
@test tanh((1+im)*Pi) == tanh((1+im)*π)
@test tanh(2+im*Pi) == tanh(2+im*π)
end
end

Expand Down

2 comments on commit 86b1b2a

@jishnub
Copy link
Owner Author

@jishnub jishnub commented on 86b1b2a Mar 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/10607

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" 86b1b2a6e97ef404c824b55cf09d3e10f85fb966
git push origin v0.1.1

Please sign in to comment.