PHP Class Location\CoordinateTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: mjaschen/phpgeo

Protected Properties

Свойство Type Description
$coordinate Coordinate
$ellipsoid Ellipsoid

Méthodes publiques

Méthode Description
testConstructorDefaultEllipsoid ( )
testConstructorInvalidLatitude ( )
testConstructorInvalidLatitudeOutOfBoundsWorksAsExpected ( )
testConstructorInvalidLongitude ( )
testConstructorInvalidLongitudeOutOfBoundsWorksAsExpected ( )
testFormat ( )
testGetEllipsoid ( )
testGetLat ( )
testGetLng ( )
testGetdistance ( )

Méthodes protégées

Méthode Description
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( )

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( )

testConstructorDefaultEllipsoid() public méthode

testConstructorInvalidLatitude() public méthode

testConstructorInvalidLatitudeOutOfBoundsWorksAsExpected() public méthode

testConstructorInvalidLongitude() public méthode

testConstructorInvalidLongitudeOutOfBoundsWorksAsExpected() public méthode

testFormat() public méthode

public testFormat ( )

testGetEllipsoid() public méthode

public testGetEllipsoid ( )

testGetLat() public méthode

public testGetLat ( )

testGetLng() public méthode

public testGetLng ( )

testGetdistance() public méthode

public testGetdistance ( )

Property Details

$coordinate protected_oe property

protected Coordinate,Location $coordinate
Résultat Coordinate

$ellipsoid protected_oe property

protected Ellipsoid,Location $ellipsoid
Résultat Ellipsoid