@Test
    public void testZero() {
        checkZeroLat(true, "0");
        checkZeroLat(true, "0.0");
        checkZeroLat(true, "0o0.0");
        checkZeroLat(true, "0o0'0");
        checkZeroLat(true, "0\u00B00'0");

        checkZeroLon(false, "0");
        checkZeroLon(false, "0.0");
        checkZeroLon(false, "0o0.0");
        checkZeroLon(false, "0o0'0");
        checkZeroLon(false, "0\u00B00'0");

        checkZeroLat(false, "N0");
        checkZeroLat(false, "N0.0");
        checkZeroLat(false, "N0\u00B00'0");
        checkZeroLat(false, "S0");
        checkZeroLat(false, "S0.0");
        checkZeroLat(false, "S0o0'0");
        checkZeroLat(false, "S0\u00B00'0");

        checkZeroLon(true, "E0");
        checkZeroLon(true, "E0.0");
        checkZeroLon(true, "E0\u00B00'0");
        checkZeroLon(true, "W0");
        checkZeroLon(true, "W0.0");
        checkZeroLon(true, "W0o0'0");
        checkZeroLon(true, "W0\u00B00'0");
    }
Tests different inputs that should all produce 0 or -0.
vespajlib/src/test/java/com/yahoo/geo/OneDegreeParserTestCase.java