diff --git a/test/test_contact.jl b/test/test_contact.jl index 0bcec16c..7ddf4a82 100644 --- a/test/test_contact.jl +++ b/test/test_contact.jl @@ -1,6 +1,6 @@ @testset "contact" begin @testset "HalfSpace3D" begin - Random.seed!(1) + Random.seed!(4) frame = CartesianFrame3D() point = Point3D(frame, rand(), rand(), rand()) normal = FreeVector3D(frame, 0., 0., 1.) diff --git a/test/test_custom_collections.jl b/test/test_custom_collections.jl index 061a5602..7e8ed5ea 100644 --- a/test/test_custom_collections.jl +++ b/test/test_custom_collections.jl @@ -63,7 +63,7 @@ Base.axes(m::NonOneBasedMatrix) = ((1:m.m) .- 2, (1:m.n) .+ 1) end @testset "SegmentedBlockDiagonalMatrix" begin - Random.seed!(1) + Random.seed!(5) A = rand(10, 10) block_indices = [(1:1, 1:1), # square (2:4, 2:2), # non-square diff --git a/test/test_double_pendulum.jl b/test/test_double_pendulum.jl index 39028e94..25e4cce4 100644 --- a/test/test_double_pendulum.jl +++ b/test/test_double_pendulum.jl @@ -1,5 +1,5 @@ @testset "double pendulum" begin - Random.seed!(1) + Random.seed!(6) lc1 = -0.5 l1 = -1. m1 = 1. diff --git a/test/test_frames.jl b/test/test_frames.jl index 6baeac65..fff35c6e 100644 --- a/test/test_frames.jl +++ b/test/test_frames.jl @@ -1,5 +1,5 @@ @testset "frames" begin - Random.seed!(1) + Random.seed!(7) f1name = "1" f1 = CartesianFrame3D(f1name) f2 = CartesianFrame3D() diff --git a/test/test_graph.jl b/test/test_graph.jl index 0668849f..b23e578d 100644 --- a/test/test_graph.jl +++ b/test/test_graph.jl @@ -2,7 +2,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) @testset "graphs" begin @testset "disconnected" begin - Random.seed!(1) + Random.seed!(8) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() verts = [Vertex(rand(Int64)) for i = 1 : 10] for v in verts @@ -23,7 +23,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) @testset "tree graph" begin - Random.seed!(1) + Random.seed!(9) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() root = Vertex(rand(Int64)) add_vertex!(graph, root) @@ -51,7 +51,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "remove_vertex!" begin - Random.seed!(1) + Random.seed!(10) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() edge = Edge(rand()) add_edge!(graph, Vertex(rand(Int64)), Vertex(rand(Int64)), edge) @@ -83,7 +83,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "remove_edge!" begin - Random.seed!(1) + Random.seed!(11) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() for i = 1 : 100 add_vertex!(graph, Vertex(i)) @@ -110,7 +110,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "rewire!" begin - Random.seed!(1) + Random.seed!(12) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() for i = 1 : 100 add_vertex!(graph, Vertex(i)) @@ -145,7 +145,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "replace_edge!" begin - Random.seed!(1) + Random.seed!(13) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() for i = 1 : 100 add_vertex!(graph, Vertex(i)) @@ -175,7 +175,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "SpanningTree" begin - Random.seed!(1) + Random.seed!(14) rootdata = 0 # graph1: tree grown incrementally @@ -327,7 +327,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "reindex!" begin - Random.seed!(1) + Random.seed!(15) graph = DirectedGraph{Vertex{Int64}, Edge{Float64}}() for i = 1 : 100 add_vertex!(graph, Vertex(i)) @@ -345,7 +345,7 @@ Graphs.flip_direction(edge::Edge{Int32}) = Edge(-edge.data) end @testset "map-like constructor" begin - Random.seed!(1) + Random.seed!(16) graph = DirectedGraph{Vertex{Int32}, Edge{Float32}}() for i = Int32(1) : Int32(100) add_vertex!(graph, Vertex(i))