public function testSymmetricRandom() { for ($i = 0; $i < 10; $i++) { $rnd = CMathf::symmetricRandom(); $this->assertTrue(-1.0 <= $rnd && $rnd < 1.0); } }