示例#1
0
 public function testBenchmark()
 {
     $this->assertSame(0.0, (double) CM_Util::benchmark());
     $this->assertSame(0.0, (double) CM_Util::benchmark('CM'));
     $this->assertGreaterThan(0, (double) CM_Util::benchmark());
     $this->assertGreaterThan(0, (double) CM_Util::benchmark('CM'));
 }