@Test
public void testRange() throws Exception {

    URIElement n1, n2, n3;
    n1 = new URIElement();
    n2 = new URIElement();
    n3 = new URIElement(true);
    n1.add(SKIP, n2);
    for (int i = 0; i < 2; i++) {
        int cost = 'A' + i;
        URIElement nn = new URIElement();
        n2.add(cost, nn);
        nn.add(SKIP, n3);
    }
    assertTrue(new URIVerifier(n1).verify("A"));
    assertTrue(new URIVerifier(n1).verify("B"));
    assertFalse(new URIVerifier(n1).verify("C"));
    assertFalse(new URIVerifier(n1).verify(String.valueOf('A' - 1)));
    assertFalse(new URIVerifier(n1).verify("AA"));
    assertFalse(new URIVerifier(n1).verify(""));
}