@Test
    public void testInputErrors() {
        String message = parseException(false, "N90S90");
        assertEquals("already set direction once, cannot add direction: S when parsing <N90S90>", message);
        message = parseException(false, "E120W120");
        assertEquals("already set direction once, cannot add direction: W when parsing <E120W120>", message);
        message = parseException(false, "E");
        assertEquals("end of field without any number seen when parsing <E>", message);
        message = parseException(false, "");
        assertEquals("end of field without any number seen when parsing <>", message);
        message = parseException(false, "NW25");
        assertEquals("already set direction once, cannot add direction: W when parsing <NW25>", message);
        message = parseException(false, "N16.25\u00B0");
        assertEquals("cannot have fractional degrees before degrees sign when parsing <N16.25\u00B0>", message);
        message = parseException(false, "N16\u00B022.40'");
        assertEquals("cannot have fractional minutes before minutes sign when parsing <N16\u00B022.40'>", message);
        message = parseException(false, "");
        assertEquals("end of field without any number seen when parsing <>", message);
        message = parseException(false, "Yahoo!");
        assertEquals("invalid character: Y when parsing <Yahoo!>", message);
        message = parseException(false, "N63O025.105");
        assertEquals("invalid character: O when parsing <N63O025.105>", message);
    }
Tests various inputs that contain syntax errors.
vespajlib/src/test/java/com/yahoo/geo/OneDegreeParserTestCase.java