Skip to content

Commit 0167683

Browse files
authored
Merge pull request #105 from JuliaStats/an/rand
Set seed and increase n to avoid unlucky draws
2 parents c8a04b1 + a7369db commit 0167683

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_dists.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ function test_metricity(dist, x, y, z)
3838
end
3939

4040
@testset "PreMetric, SemiMetric, Metric on $T" for T in (Float64, F64)
41-
n = 10
41+
Random.seed!(123)
42+
n = 100
4243
x = rand(T, n)
4344
y = rand(T, n)
4445
z = rand(T, n)

0 commit comments

Comments
 (0)