public void RandomUtilities_Next24_CodeCoverage() { for (int i = 0; i < 10000; ++i) { var random = RandomUtilities.Next24(); Assert.Equal(0u, random & 0xFF000000); // 24-bit random should never have anything in the upper byte } }