I want to check randomness of my binary numbers using dieharder test. I write 1000 binary numbers in file abcd.txt as follows:
#==================================================================
# generator LFSR seed = 1
#==================================================================
type: d
count: 1000
numbit: 1
1
0
0
.
.
1
But if I use dieharder -a -f abcd.txt -g 202
, all tests give as follows:
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
file_input| abcd.txt| 1.12e+07 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
# The file file_input was rewound 13840 times
diehard_birthdays| 0| 100| 100|0.00000000| FAILED
# The file file_input was rewound 113840 times
diehard_operm5| 0| 1000000| 100|0.00000000| FAILED
Aucun commentaire:
Enregistrer un commentaire