public function testBisectionMethodExceptionSameSigns()
{
$func = function ($x) {
return $x + 96;
};
$tol = 1.0E-5;
$a = 0;
$b = 1;
$expected = 1;
$this->setExpectedException('MathPHP\\Exception\\BadDataException');
$x = BisectionMethod::solve($func, $a, $b, $tol);
}