PhpBench\Tests\Unit\Benchmark\IterationTest::testGetRevTime PHP Method

testGetRevTime() public method

It should return the revolution time.
public testGetRevTime ( )
    public function testGetRevTime()
    {
        $iteration = new Iteration(1, $this->variant->reveal(), TestUtil::createResults(100));
        $this->variant->getRevolutions()->willReturn(100);
        $this->assertEquals(1, $iteration->getResult(TimeResult::class)->getRevTime(100));
    }