1 -- This tests the format, not the randomness
3 -- https://tools.ietf.org/html/rfc4122#section-4.4
5 local pattern = "^" .. table.concat({
10 "[89ab]" .. -- reserved bits of 1 and 0
15 function generate(generate)
17 assert_is(generate():match(pattern));
22 assert_equal(seed("random string here"), nil, "seed doesn't return anything");