InfluxDB\Test\PointTest::testPointValidTimestamp PHP Method

testPointValidTimestamp() public method

Check if the Point class accept all valid timestamp given.
public testPointValidTimestamp ( $timestamp )
    public function testPointValidTimestamp($timestamp)
    {
        $expected = 'instance,host=server01,region=us-west cpucount=10i,free=1i,test="string",bool=false,value=1.11' . ($timestamp ? ' ' . $timestamp : '');
        $point = $this->getPoint($timestamp);
        $this->assertEquals($expected, (string) $point);
    }