Research Article

New Statistical Randomness Tests Based on Length of Runs

Algorithm 5

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