Skip to content

Commit 8336ae1

Browse files
authored
Update specialfunctionstests.jl
1 parent 8d1839b commit 8336ae1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/specialfunctionstests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ using FastTransforms
22
using Compat.Test
33
import FastTransforms.pochhammer
44

5+
const sqrtpi = 1.772453850905516027298
6+
57
@testset "Pochhammer" begin
68
@test pochhammer(2,3) == 24
79
@test pochhammer(0.5,3) == 0.5*1.5*2.5
@@ -10,5 +12,5 @@ import FastTransforms.pochhammer
1012
@test pochhammer(-1,2) == 0
1113
@test pochhammer(-5,3) == -60
1214
@test pochhammer(-1,-0.5) == 0
13-
@test pochhammer(-0.5,-0.5) == Inf
15+
@test 1.0/pochhammer(-0.5,-0.5) == 0
1416
end

0 commit comments

Comments
 (0)