MathPHP\Statistics\DescriptiveTest::testPercentileOutOfLowerBoundsP PHP Method

testPercentileOutOfLowerBoundsP() public method

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