ci: comment the `dump(fixed_array)` call in crypto_rand_read_test.v
parent
c09e85fa90
commit
0547a0a9cd
|
@ -2,13 +2,13 @@ import crypto.rand
|
||||||
|
|
||||||
fn test_reading() ? {
|
fn test_reading() ? {
|
||||||
a := rand.read(32) ?
|
a := rand.read(32) ?
|
||||||
dump(a.hex())
|
// dump(a.hex())
|
||||||
assert a.len == 32
|
assert a.len == 32
|
||||||
mut histogram := [256]int{}
|
mut histogram := [256]int{}
|
||||||
for b in a {
|
for b in a {
|
||||||
histogram[b]++
|
histogram[b]++
|
||||||
}
|
}
|
||||||
dump(histogram)
|
// dump(histogram)
|
||||||
for h in histogram {
|
for h in histogram {
|
||||||
assert h < 10
|
assert h < 10
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue