Why do you hardcode the following parameters? It's more interesting to let the users pass them as arguments to the test functions.
P a r a m e t e r A d j u s t m e n t s
-----------------------------------------
[1] Block Frequency Test - block length(M): 128
[2] NonOverlapping Template Test - block length(m): 9
[3] Overlapping Template Test - block length(m): 9
[4] Approximate Entropy Test - block length(m): 10
[5] Serial Test - block length(m): 16
[6] Linear Complexity Test - block length(M): 500
Why do you hardcode the following parameters? It's more interesting to let the users pass them as arguments to the test functions.