public function testBisectionMethodExceptionNegativeTolerance()
{
$func = function ($x) {
return $x ** 4 + 8 * $x ** 3 - 13 * $x ** 2 - 92 * $x + 96;
};
$tol = -1.0E-5;
$a = 0;
$b = 2;
$expected = 1;
$this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException');
$x = BisectionMethod::solve($func, $a, $b, $tol);
}