mult() public method

Multiplies the NumArray with a factor
Since: 1.0.4
public mult ( mixed $factor )
$factor mixed factor
Beispiel #1
0
 /**
  * Tests if cache will be flushed after use of NumArray::mult
  */
 public function testMultCache()
 {
     $numArray = new NumArray(5);
     $numArray->setCache('key', 6);
     $numArray->mult(4);
     $this->assertFalse($numArray->inCache('key'));
 }