Research Article

New Statistical Randomness Tests Based on Length of Runs

Algorithm 4

Runs of length one test (), .
,
while    do
 temp =
if  temp = 3  then
  
end if
end while
Apply of Goodness of Fit test to the values in .
return  -value.