function testLocalMaximums() { $p = new Math_Polynomial('x^4 - 44x^3 - 66x^2 + 187x + 210'); $maxs = Math_PolynomialOp::getLocalMaximums($p); $this->assertEquals(array(0.7969207179575442), $maxs); }