@Test
    public void testNearZero() {
        parser = new DegreesParser("N0.0001;E0.0001");
        assertEquals(0.0001, parser.latitude, delta);
        assertEquals(0.0001, parser.longitude, delta);
        parser = new DegreesParser("S0.0001;W0.0001");
        assertEquals(-0.0001, parser.latitude, delta);
        assertEquals(-0.0001, parser.longitude, delta);

        parser = new DegreesParser("N0.000001;E0.000001");
        assertEquals(0.000001, parser.latitude, delta);
        assertEquals(0.000001, parser.longitude, delta);
        parser = new DegreesParser("S0.000001;W0.000001");
        assertEquals(-0.000001, parser.latitude, delta);
        assertEquals(-0.000001, parser.longitude, delta);

        parser = new DegreesParser("N0\u00B00'1;E0\u00B00'1");
        assertEquals(1/3600d, parser.latitude, delta);
        assertEquals(1/3600d, parser.longitude, delta);
        parser = new DegreesParser("S0\u00B00'1;W0\u00B00'1");
        assertEquals(-1/3600d, parser.latitude, delta);
        assertEquals(-1/3600d, parser.longitude, delta);
    }
Tests inputs that are close to 0.
vespajlib/src/test/java/com/yahoo/geo/DegreesParserTestCase.java