From ca73d0d8c2022ff77297424893384931d41bc20e Mon Sep 17 00:00:00 2001 From: Jiahao Chen Date: Sat, 1 Mar 2014 12:34:32 -0500 Subject: [PATCH] Reverts deterministic test of MersenneTwister. Closes #5999 The hardcoded value turns out to be platform specific. --- test/random.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/random.jl b/test/random.jl index 9e75b7829b983..6da5374879d15 100644 --- a/test/random.jl +++ b/test/random.jl @@ -9,10 +9,6 @@ @test length(randn(4, 5)) == 20 @test length(randbool(4, 5)) == 20 -# Test Reproducibility of Pseudo-Random Numbers -rng = MersenneTwister(0) -@test (rand(rng) - 0.07749284875576845) < 0.01 - for T in (Int8, Uint8, Int16, Uint16, Int32, Uint32, Int64, Uint64, Int128, Uint128, Char, BigInt, Float16, Float32, Float64, Rational{Int}) r = rand(convert(T, 97):convert(T, 122))