Skip to content

Commit a7369db

Browse files
committed
Set seed and increase n to avoid unlucky draws
1 parent c8a04b1 commit a7369db

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)