Skip to content

Commit f9f02ce

Browse files
committed
use dynamic RNG seed in tests
1 parent a85c03f commit f9f02ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ using LazySets
4141

4242
# fix seed of random number generator (for reproducibility)
4343
using Random
44-
Random.seed!(1234)
44+
seed = rand(Int)
45+
println("using random seed $seed")
46+
Random.seed!(seed)
4547

4648
# optional dependencies
4749
@ts begin

0 commit comments

Comments
 (0)