1 /* 2 * diehard_dna test header. 3 */ 4 5 /* 6 * function prototype 7 */ 8 int diehard_dna(Test **test,int irun); 9 10 static Dtest diehard_dna_dtest __attribute__((unused)) = { 11 "Diehard DNA Test", 12 "diehard_dna", 13 "\ 14 #==================================================================\n\ 15 # Diehard DNA Test.\n\ 16 # \n\ 17 # The DNA test considers an alphabet of 4 letters:: C,G,A,T,\n\ 18 # determined by two designated bits in the sequence of random \n\ 19 # integers being tested. It considers 10-letter words, so that \n\ 20 # as in OPSO and OQSO, there are 2^20 possible words, and the \n\ 21 # mean number of missing words from a string of 2^21 (over- \n\ 22 # lapping) 10-letter words (2^21+9 \"keystrokes\") is 141909. \n\ 23 # The standard deviation sigma=339 was determined as for OQSO \n\ 24 # by simulation. (Sigma for OPSO, 290, is the true value (to \n\ 25 # three places), not determined by simulation. \n\ 26 # \n\ 27 # Note 2^21 = 2097152\n\ 28 # Note also that we don't bother with overlapping keystrokes \n\ 29 # (and sample more rands -- rands are now cheap). \n\ 30 #==================================================================\n", 31 100, 32 2097152, 33 1, 34 diehard_dna, 35 0 36 }; 37 38