@Test public void formatDDd() { createLatitudeEditor(); editor.setNotation(CoordinateParser.Notation.DDd); Assert.assertEquals("+2.405000", editor.format(2.405)); }
@Test public void testNearEquator() { createLatitudeEditor(); Assert.assertEquals(editor.format(-0.9392889738082886), "0° 56' 21.44\" S"); }