PhpBench\Tests\Unit\Benchmark\VariantTest::testComputeDeviationZeroIterations PHP Метод

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

It should not crash if compute deviations is called with zero variant in the collection.
    public function testComputeDeviationZeroIterations()
    {
        $variant = new Variant($this->subject->reveal(), $this->parameterSet->reveal(), 10, 20);
        $variant->computeStats();
    }