Skip to content

Commit 274185d

Browse files
add tests
1 parent be2c99e commit 274185d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ const NumberType = Float64
3838
end
3939
end
4040

41+
@testset "positive₂F₁" begin
42+
for (a, b, c, z) in ((1, 2, 3, 0.5), (3, 5, 7, 0.75), (1, 8537, 6042, 0.25))
43+
positivetwoFone = positive₂F₁(a, b, c, z)
44+
twoFone = Float64(pFqweniger(BigFloat[a, b], BigFloat[c], big(z)))
45+
@test positivetwoFone > 0
46+
@test positivetwoFone twoFone
47+
end
48+
end
4149

4250
@testset "pFq vs mpmath" begin
4351
(a, b, c, result) = NumberType.([-1.138]), NumberType.([-1.17865]), NumberType(0.29524203533943405), 1.3211939223293958

0 commit comments

Comments
 (0)