PHP Class Location\Distance\HaversineTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: mjaschen/phpgeo

Protected Properties

Property Type Description
$calculator
$ellipsoid

Public Methods

Method Description
testGetDistance ( )
testGetDistanceInternationalDateLine ( )
testGetDistanceSameLatitude ( )
testGetDistanceSameLongitude ( )
testGetDistanceZero ( )
testNotMatchingEllispoids ( )

Protected Methods

Method 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 method

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

tearDown() protected method

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

testGetDistance() public method

public testGetDistance ( )

testGetDistanceInternationalDateLine() public method

testGetDistanceSameLatitude() public method

testGetDistanceSameLongitude() public method

testGetDistanceZero() public method

public testGetDistanceZero ( )

testNotMatchingEllispoids() public method

Property Details

$calculator protected_oe property

protected $calculator

$ellipsoid protected_oe property

protected $ellipsoid