Skip to content

Commit c140788

Browse files
authored
Update specialfunctionstests.jl
1 parent ed9f733 commit c140788

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/specialfunctionstests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ using Compat.Test
55
@test pochhammer(2,3) == 24
66
@test pochhammer(0.5,3) == 0.5*1.5*2.5
77
@test pochhammer(0.5,0.5) == 1/sqrtpi
8+
@test pochhammer(0,1) == 0
9+
@test pochhammer(-1,2) == 0
10+
@test pochhammer(-5,3) == -60
11+
@test pochhammer(-1,-0.5) == 0
12+
@test pochhammer(-0.5,-0.5) == Inf
813
end

0 commit comments

Comments
 (0)