Skip to content

Commit

Permalink
add tests for JuliaMath#47
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Nov 26, 2024
1 parent 5ca6995 commit fbb3780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ using Aqua
@test_throws ArgumentError (-∞) - (-∞)
@test_throws ArgumentError 0*
@test_throws ArgumentError 0*(-∞)
@test_throws ArgumentError Inf - RealInfinity()
@test_throws ArgumentError RealInfinity() - Inf

@test (-∞)*2 2*(-∞) -2 ** (-2) (-2) * RealInfinity() -
@test (-∞)*2.3 2.3*(-∞) -2.3 ** (-2.3) (-2.3) * RealInfinity() -
Expand Down

0 comments on commit fbb3780

Please sign in to comment.