Compare the number of guesses and random number test