Skip to content

Commit f49cdfc

Browse files
committed
export threefry, philox, aesni, ars
1 parent c9c5f3d commit f49cdfc

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/Random123.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ using RandomNumbers
2121
export set_counter!
2222
include("common.jl")
2323

24-
export Threefry2x, Threefry4x
24+
export Threefry2x, Threefry4x, threefry
2525
include("threefry.jl")
2626

27-
export Philox2x, Philox4x
27+
export Philox2x, Philox4x, philox
2828
include("philox.jl")
2929

3030
export R123_USE_AESNI
@@ -46,8 +46,8 @@ catch e
4646
end
4747

4848
@static if R123_USE_AESNI
49-
export AESNI1x, AESNI4x
50-
export ARS1x, ARS4x
49+
export AESNI1x, AESNI4x, aesni
50+
export ARS1x, ARS4x, ars
5151
include("./aesni_common.jl")
5252
include("./aesni.jl")
5353
include("./ars.jl")

test/runtests.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ using Printf: @printf
77
@info "Testing Random123"
88

99
@testset "functional API" begin
10-
threefry = Random123.threefry
11-
philox = Random123.philox
12-
aesni = Random123.aesni
13-
ars = Random123.ars
1410
get_key = Random123.get_key
1511
get_ctr = Random123.get_ctr
1612
seed1 = 1
@@ -47,10 +43,6 @@ using Printf: @printf
4743
end
4844
end
4945
@testset "functional consistency" begin
50-
threefry = Random123.threefry
51-
philox = Random123.philox
52-
aesni = Random123.aesni
53-
ars = Random123.ars
5446
get_key = Random123.get_key
5547
get_ctr = Random123.get_ctr
5648
for T in [UInt32, UInt64]

0 commit comments

Comments
 (0)