mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix some tests
This commit is contained in:
@ -18,7 +18,7 @@ fn init() {
|
||||
|
||||
// new_default returns a new instance of the default RNG. If the seed is not provided, the current time will be used to seed the instance.
|
||||
pub fn new_default(config PRNGConfigStruct) &wyrand.WyRandRNG {
|
||||
rng := &wyrand.WyRandRNG{}
|
||||
mut rng := &wyrand.WyRandRNG{}
|
||||
rng.seed(config.seed)
|
||||
return rng
|
||||
}
|
||||
|
Reference in New Issue
Block a user