public void testCompareTo() {
CategoryPath p = new CategoryPath("a/b/c/d", '/');
CategoryPath pother = new CategoryPath("a/b/c/d", '/');
assertTrue(pother.compareTo(p) == 0);
pother = new CategoryPath("", '/');
assertTrue(pother.compareTo(p) < 0);
pother = new CategoryPath("a/b_/c/d", '/');
assertTrue(pother.compareTo(p) > 0);
pother = new CategoryPath("a/b/c", '/');
assertTrue(pother.compareTo(p) < 0);
pother = new CategoryPath("a/b/c/e", '/');