Google\Cloud\Tests\Datastore\GeoPointTest::testPoint PHP Method

testPoint() public method

public testPoint ( )
    public function testPoint()
    {
        $point = new GeoPoint(1.1, 2.2);
        $this->assertEquals($point->point(), ['latitude' => 1.1, 'longitude' => 2.2]);
    }