Files
Nim/tests/stdlib/toids.nim
flywind 594831620b oids: switch from PRNG to random module (#16203)
* switch from PRNG to random module
* fix the regression
* comments + tests
* runnableExamples
* make oids better

(cherry picked from commit 89a21e4ec7)
2021-12-13 15:00:32 +01:00

7 lines
79 B
Nim

import std/oids
block: # genOid
let x = genOid()
doAssert ($x).len == 24