MathPHP\Statistics\DescriptiveTest::testPercentileOutOfUpperBoundsP PHP Method

testPercentileOutOfUpperBoundsP() public method

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