Пример #1
0
 function testParamConstness()
 {
     $p1 = new Math_Polynomial('3x + 1');
     $p2 = '4x^2 + 2x + 1';
     $res = Math_PolynomialOp::add($p1, $p2);
     $this->assertEquals('4x^2 + 2x + 1', $p2);
 }