public function testCovarianceSample($X, $Y, $covariance) { $this->assertEquals($covariance, Correlation::covariance($X, $Y), '', 0.01); }