MathPHP\Statistics\DescriptiveTest::testSampleVarianceZeroWhenListContainsOnlyOneItem PHP Method

testSampleVarianceZeroWhenListContainsOnlyOneItem() public method

    public function testSampleVarianceZeroWhenListContainsOnlyOneItem()
    {
        $this->assertEquals(0, Descriptive::sampleVariance([5]));
    }
DescriptiveTest