@@ -55,7 +55,7 @@ test() ->
55
55
56
56
57
57
test_search () ->
58
- random :seed (1 , 11 , 91 ),
58
+ rand :seed (exrop , { 1 , 11 , 91 } ),
59
59
60
60
Fd = vtree_test_util :create_file (? FILENAME ),
61
61
Less = fun (A , B ) -> A < B end ,
@@ -86,7 +86,7 @@ test_search() ->
86
86
87
87
88
88
test_all () ->
89
- random :seed (1 , 11 , 91 ),
89
+ rand :seed (exrop , { 1 , 11 , 91 } ),
90
90
91
91
Fd = vtree_test_util :create_file (? FILENAME ),
92
92
Less = fun (A , B ) -> A < B end ,
@@ -120,7 +120,7 @@ test_all() ->
120
120
121
121
122
122
test_count_search () ->
123
- random :seed (1 , 11 , 91 ),
123
+ rand :seed (exrop , { 1 , 11 , 91 } ),
124
124
125
125
Fd = vtree_test_util :create_file (? FILENAME ),
126
126
Less = fun (A , B ) -> A < B end ,
@@ -173,7 +173,7 @@ test_count_search() ->
173
173
174
174
175
175
test_count_all () ->
176
- random :seed (1 , 11 , 91 ),
176
+ rand :seed (exrop , { 1 , 11 , 91 } ),
177
177
178
178
Fd = vtree_test_util :create_file (? FILENAME ),
179
179
Less = fun (A , B ) -> A < B end ,
@@ -200,7 +200,7 @@ test_count_all() ->
200
200
201
201
202
202
test_traverse () ->
203
- random :seed (1 , 11 , 91 ),
203
+ rand :seed (exrop , { 1 , 11 , 91 } ),
204
204
205
205
Fd = vtree_test_util :create_file (? FILENAME ),
206
206
Less = fun (A , B ) -> A < B end ,
@@ -272,7 +272,7 @@ test_traverse() ->
272
272
273
273
274
274
test_traverse_kv () ->
275
- random :seed (1 , 11 , 91 ),
275
+ rand :seed (exrop , { 1 , 11 , 91 } ),
276
276
277
277
Less = fun (A , B ) -> A < B end ,
278
278
FoldFun = fun (Node , Acc ) -> {ok , [Node |Acc ]} end ,
@@ -334,7 +334,7 @@ test_traverse_kv() ->
334
334
335
335
336
336
test_traverse_all () ->
337
- random :seed (1 , 11 , 91 ),
337
+ rand :seed (exrop , { 1 , 11 , 91 } ),
338
338
339
339
Fd = vtree_test_util :create_file (? FILENAME ),
340
340
Less = fun (A , B ) -> A < B end ,
@@ -373,7 +373,7 @@ test_traverse_all() ->
373
373
374
374
375
375
test_traverse_all_kv () ->
376
- random :seed (1 , 11 , 91 ),
376
+ rand :seed (exrop , { 1 , 11 , 91 } ),
377
377
378
378
FoldFun = fun (Node , Acc ) -> {ok , [Node |Acc ]} end ,
379
379
0 commit comments