PHP Class Location\Distance\HaversineTest

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

Protected Properties

Свойство Type Description
$calculator
$ellipsoid

Méthodes publiques

Méthode Description
testGetDistance ( )
testGetDistanceInternationalDateLine ( )
testGetDistanceSameLatitude ( )
testGetDistanceSameLongitude ( )
testGetDistanceZero ( )
testNotMatchingEllispoids ( )

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 ( )

testGetDistance() public méthode

public testGetDistance ( )

testGetDistanceInternationalDateLine() public méthode

testGetDistanceSameLatitude() public méthode

testGetDistanceSameLongitude() public méthode

testGetDistanceZero() public méthode

public testGetDistanceZero ( )

testNotMatchingEllispoids() public méthode

Property Details

$calculator protected_oe property

protected $calculator

$ellipsoid protected_oe property

protected $ellipsoid