public function testEvaluateComplexPolynom() { $polynom = new ezcGraphPolynom(array(2 => 0.5, 1 => 3, 0 => -4.5)); $this->assertEquals(9.0, $polynom->evaluate(3), 'Calculated wrong value', 0.1); }