removed eronius comment
[ga4php.git] / unittests / generaterandomstrings.php
1 <?php
2
3 include("../authserver/lib/lib.php");
4
5 echo "Doing 50000 string generations\n";
6 for($l = 0; $l < 50000; $l++) {
7         if(($l%1000)==0) {
8                 echo "At $l\n";
9         }
10         $str = generateRandomString();
11         if(strlen($str)!=128) {
12                 echo "Failure at ".strlen($str)." with $str\n";
13                 return false;
14         }
15 }
16
17 return true;
18 ?>