mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
This commit is contained in:
@@ -19,7 +19,7 @@ import sets, tables
|
||||
|
||||
suite "random int":
|
||||
test "there might be some randomness":
|
||||
var set = initSet[int](128)
|
||||
var set = initHashSet[int](128)
|
||||
|
||||
for i in 1..1000:
|
||||
incl(set, random(high(int)))
|
||||
|
||||
Reference in New Issue
Block a user