Location\Formatter\Coordinate\DMSTest::testFormatASCIIUnits PHP 메소드

testFormatASCIIUnits() 공개 메소드

    public function testFormatASCIIUnits()
    {
        $coordinate = new Coordinate(-18.911306, -155.678268);
        $this->formatter->setSeparator(", ")->setUnits(DMS::UNITS_ASCII);
        $this->assertEquals("-18° 54' 41\", -155° 40' 42\"", $this->formatter->format($coordinate));
    }