Skip to content

Commit

Permalink
added a test for promote_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Mar 7, 2020
1 parent 9c8cbba commit bb8354b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ end
end
@test promote_rule(PiTimes{Int},Irrational{}) === PiTimes{Int}
@test promote_rule(PiTimes{Float64},Irrational{}) === PiTimes{Float64}
@test promote_rule(Irrational{},PiTimes{Float64}) === PiTimes{Float64}
end
@testset "convert" begin
@testset "to float" begin
Expand Down

2 comments on commit bb8354b

@jishnub
Copy link
Owner Author

@jishnub jishnub commented on bb8354b Mar 7, 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/10659

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.2.0 -m "<description of version>" bb8354bb0b883ab5d36f1e64c3fe90bbf9ad6b3f
git push origin v0.2.0

Please sign in to comment.