public function testNewtonsMethodExceptionNegativeTolerance()
{
$func = function ($x) {
return $x ** 4 + 8 * $x ** 3 - 13 * $x ** 2 - 92 * $x + 96;
};
$args = [-4.1];
$target = 0;
$position = 0;
$tol = -1.0E-5;
$this->setExpectedException('\\Exception');
$x = NewtonsMethod::solve($func, $args, $target, $tol, $position);
}