|
@@ -116,16 +116,6 @@ class TestTime extends TestCase
|
|
|
return $ltm['tm_yday'];
|
|
|
}
|
|
|
|
|
|
- public function testMtrand()
|
|
|
- {
|
|
|
- for ($i = 0; $i < 100; $i++) {
|
|
|
- echo mt_rand(0,6);
|
|
|
- echo "\n";
|
|
|
- }
|
|
|
-
|
|
|
- $世界 = '⬇';
|
|
|
- }
|
|
|
-
|
|
|
public function testPeriod()
|
|
|
{
|
|
|
$date = date('Y-m-d',time());
|
|
@@ -219,4 +209,11 @@ class TestTime extends TestCase
|
|
|
$y = $data;
|
|
|
}
|
|
|
|
|
|
+ public function testMtrand()
|
|
|
+ {
|
|
|
+ for ($i = 0; $i < 10000; $i++) {
|
|
|
+ $val = mt_rand(1,200);
|
|
|
+ Log::record("{$val}",Log::DEBUG);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|