PhpBench\Tests\Unit\Math\DistributionTest::testDistributionZero PHP Method

testDistributionZero() public method

It should throw an exception if zero samples are given.
    public function testDistributionZero()
    {
        new Distribution([]);
    }