public function testWGS84ToNAD27() { $LatLng = new LatLng(12.3, 12.3, 0, RefEll::wgs84()); $LatLng->toNAD27(); $expected = "(12.29939, 12.29855)"; self::assertEquals($expected, $LatLng->__toString()); }