public function testCDF($x, $α, $β, $cdf) { $p = LogLogistic::CDF($x, $α, $β); $this->assertEquals($cdf, $p, '', 0.001); $this->assertEquals($x, LogLogistic::inverse($p, $α, $β), '', 0.001); }