MathPHP\Statistics\DescriptiveTest::testVarianceExceptionDFLessThanZero PHP Метод

testVarianceExceptionDFLessThanZero() публичный Метод

    public function testVarianceExceptionDFLessThanZero()
    {
        $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException');
        Descriptive::variance([1, 2, 3], -1);
    }
DescriptiveTest