PhpBench\Tests\Unit\Benchmark\RunnerContextTest::testDefaults PHP Method

testDefaults() public method

Default should be used if no explict value set in the context.
public testDefaults ( )
    public function testDefaults()
    {
        $context = new RunnerContext(__DIR__);
        $this->assertEquals([10], $context->getIterations([10]));
        $this->assertEquals([10], $context->getRevolutions([10]));
        $this->assertEquals(10, $context->getRetryThreshold(10));
    }