equal
deleted
inserted
replaced
1 -- Makes no attempt at testing how random the bytes are, |
|
2 -- just that it returns the number of bytes requested |
|
3 |
|
4 function bytes(bytes) |
|
5 assert_is(bytes(16)); |
|
6 |
|
7 for i = 1, 255 do |
|
8 assert_equal(i, #bytes(i)); |
|
9 end |
|
10 end |
|