From a7369db210bae7d9bde8741131f60e4eb7434a51 Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Wed, 8 Aug 2018 16:11:04 +0100 Subject: [PATCH] Set seed and increase n to avoid unlucky draws --- test/test_dists.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_dists.jl b/test/test_dists.jl index 0eadecf..1244167 100644 --- a/test/test_dists.jl +++ b/test/test_dists.jl @@ -38,7 +38,8 @@ function test_metricity(dist, x, y, z) end @testset "PreMetric, SemiMetric, Metric on $T" for T in (Float64, F64) - n = 10 + Random.seed!(123) + n = 100 x = rand(T, n) y = rand(T, n) z = rand(T, n)