public function testChiSquaredException() { $this->setExpectedException('MathPHP\\Exception\\BadDataException'); $df = 88474; $p = 0.44; ChiSquared::getChiSquareValue($df, $p); }
public function testMean() { $k = 5; $this->assertEquals($k, ChiSquared::mean($k)); }