v/vlib/rand/rand_test.js.v

8 lines
92 B
V
Raw Normal View History

import rand
fn test_string() {
res := rand.string(4)
assert res.len == 4
println(res)
}