PHP 클래스 Location\CoordinateTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: mjaschen/phpgeo

보호된 프로퍼티들

프로퍼티 타입 설명
$coordinate Coordinate
$ellipsoid Ellipsoid

공개 메소드들

메소드 설명
testConstructorDefaultEllipsoid ( )
testConstructorInvalidLatitude ( )
testConstructorInvalidLatitudeOutOfBoundsWorksAsExpected ( )
testConstructorInvalidLongitude ( )
testConstructorInvalidLongitudeOutOfBoundsWorksAsExpected ( )
testFormat ( )
testGetEllipsoid ( )
testGetLat ( )
testGetLng ( )
testGetdistance ( )

보호된 메소드들

메소드 설명
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.

메소드 상세

setUp() 보호된 메소드

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

tearDown() 보호된 메소드

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

testConstructorDefaultEllipsoid() 공개 메소드

testConstructorInvalidLatitude() 공개 메소드

testConstructorInvalidLatitudeOutOfBoundsWorksAsExpected() 공개 메소드

testConstructorInvalidLongitude() 공개 메소드

testConstructorInvalidLongitudeOutOfBoundsWorksAsExpected() 공개 메소드

testFormat() 공개 메소드

public testFormat ( )

testGetEllipsoid() 공개 메소드

public testGetEllipsoid ( )

testGetLat() 공개 메소드

public testGetLat ( )

testGetLng() 공개 메소드

public testGetLng ( )

testGetdistance() 공개 메소드

public testGetdistance ( )

프로퍼티 상세

$coordinate 보호되어 있는 프로퍼티

protected Coordinate,Location $coordinate
리턴 Coordinate

$ellipsoid 보호되어 있는 프로퍼티

protected Ellipsoid,Location $ellipsoid
리턴 Ellipsoid