On the power function of the longest run as a test for randomness in a sequence of alternatives.