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

testGeoPoint() public method

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