Skip to content

Commit f3b2ad2

Browse files
Update runtests.jl
1 parent 21a5d8d commit f3b2ad2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/runtests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ using NaNMath
22
using Test
33
using DoubleFloats
44

5-
6-
# https://github.com/JuliaMath/NaNMath.jl/issues/76
7-
@test_throws MethodError NaNMath.pow(1.0, 1.0+im)
8-
9-
105
for T in (Float64, Float32, Float16, BigFloat)
116
for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10,
127
:log1p) # Note: do :lgamma separately because it can't handle BigFloat
@@ -65,6 +60,7 @@ end
6560
@test NaNMath.pow(1.0, 1.0+im) === 1.0 + 0.0im
6661
@test NaNMath.pow(1.0+im, 1) === 1.0 + 1.0im
6762
@test NaNMath.pow(1.0+im, 1.0) === 1.0 + 1.0im
63+
@test NaNMath.pow(1.0, 1.0+im) == 1.0 + 1.0im
6864

6965
@test isnan(NaNMath.sqrt(-5))
7066
@test NaNMath.sqrt(5) == Base.sqrt(5)

0 commit comments

Comments
 (0)