We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4920b41 + e8245a1 commit cd8c174Copy full SHA for cd8c174
src/RNGTest.jl
@@ -964,7 +964,11 @@ module RNGTest
964
g->smarsa_CollisionOver(g, 30, 2*10^7, 27, 8, 14),
965
g->smarsa_CollisionOver(g, 30, 2*10^7, 0, 4, 21),
966
g->smarsa_CollisionOver(g, 30, 2*10^7, 28, 4, 21),
967
- g->smarsa_BirthdaySpacings(g, 100, 10^7, 0, 2^31, 2, 1),
+ if typemax(Clong) < 2^31 # On Windows Clong is defined as Int32
968
+ g->smarsa_BirthdaySpacings(g, 250, 4*10^6, 0, 2^30, 2, 1)
969
+ else
970
+ g->smarsa_BirthdaySpacings(g, 100, 10^7, 0, 2^31, 2, 1)
971
+ end,
972
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^21, 3, 1),
973
g->smarsa_BirthdaySpacings(g, 20, 3*10^7, 14, 2^16, 4, 1),
974
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^9, 7, 1),
test/runtests.jl
@@ -8,6 +8,13 @@ pval = 0.001
8
@testset "smarsa" begin
9
@testset "BirthdaySpacings" begin
10
@test RNGTest.smarsa_BirthdaySpacings(f, 1, 5000000, 0, 1073741824, 2, 1) > pval
11
+
12
+ # Issue28: smarsa_BirthdaySpacing called in bigcrushJulia
13
14
+ @test RNGTest.smarsa_BirthdaySpacings(f, 250, 4*10^6, 0, 2^30, 2, 1) > pval
15
16
+ @test RNGTest.smarsa_BirthdaySpacings(f, 100, 10^7, 0, 2^31, 2, 1) > pval
17
+ end
18
end
19
20
@testset "MatrixRank" begin
0 commit comments