public function testTimer() { Timer::timer(); for ($i = 100; $i < 1000000; $i *= 10) { usleep($i * 2); $delta = Timer::timer(); $this->assertGreaterThan($i / 1000000, $delta); } }