----- Original Message ----- From: "Marcus Börger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 3:59 PM Subject: [PHP-CVS] cvs: php4 / README.TESTING
> + > +/ext/standard/tests/strings 003.phpt is a good example for using EXPECTF > +instead of EXPECT. From time to time the algorythmn used for shuffle > +changed and sometimes the machine used to execute the code has influence > +on the result of shuffle. But it always retuns a three character string > +detectable by %s. Other forms scanable are %i for integers, %f for > +floating point values and %x for hexadecimal values. > + However this test does not test how good is the randomization of str_shuffle. I got an idea how to implement a check so if case something goes wrong we will have FAIL. ATM it is checked that str_shuffle() doesn't change the original string as it did for some time. Andrey -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php