We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53e8888 commit e3fe89dCopy full SHA for e3fe89d
test/misc.jl
@@ -55,3 +55,11 @@ end
55
end
56
57
58
+
59
+# https://github.com/JuliaStats/StatsFuns.jl/issues/115
60
+@testset "support of binomial distribution" begin
61
+ @test iszero(binompdf(1, 0.5, prevfloat(1.0)))
62
+ @test iszero(binompdf(1, 0.5, nextfloat(1.0)))
63
+ @test binomlogpdf(1, 0.5, prevfloat(1.0)) == -Inf
64
+ @test binomlogpdf(1, 0.5, nextfloat(1.0)) == -Inf
65
+end
0 commit comments