void () { assertEquals(-1, compare("~/project/aaa/", "~/project/aaa-qwe/")); assertEquals(-1, compare("~/project/aaa/A.java", "~/project/aaa-qwe/A.java")); assertEquals(1, compare("~/project/zzz-qwe.java", "~/project/zzz/")); }