Пример #1
0
 public function testSampleCovarianceExceptionWhenXAndYHaveDifferentCounts()
 {
     $this->setExpectedException('MathPHP\\Exception\\BadDataException');
     Correlation::sampleCovariance([1, 2], [2, 3, 4]);
 }