PhpBench\Tests\Unit\Report\Generator\TableGeneratorTest::testZeroTime PHP Method

testZeroTime() public method

It should not crash if an itreation reports 0 time.
public testZeroTime ( )
    public function testZeroTime()
    {
        $collection = TestUtil::createCollection([['basetime' => 0, 'iterations' => [0]]]);
        $report = $this->generate($collection);
        $this->assertXPathEval($report, '0', 'string(//cell[@name="diff"])');
        $this->assertXPathEval($report, '0', 'string(//cell[@name="mean"])');
    }