@Test
public void testPathEquals() {

    assert PathUtils.pathEquals("/home/", "/home/", "/");
    assert PathUtils.pathEquals("/home", "/home", "/");
    assert PathUtils.pathEquals("/home/", "/home/", "\\");
    assert PathUtils.pathEquals("/home/", "/home", "/");
    assert PathUtils.pathEquals("/home", "/home/", "/");
    assert PathUtils.pathEquals("C:\\home\\", "C:\\home\\", "\\");
    assert PathUtils.pathEquals("C:\\home", "C:\\home", "\\");
    assert PathUtils.pathEquals("C:\\home\\", "C:\\home\\", "/");
    assert PathUtils.pathEquals("C:\\home\\", "C:\\home", "\\");
    assert PathUtils.pathEquals("C:\\home", "C:\\home\\", "\\");
    assert PathUtils.pathEquals("--home--", "--home--", "--");
    assert PathUtils.pathEquals("--home", "--home", "--");
    assert PathUtils.pathEquals("--home--", "--home--", "/");
    assert PathUtils.pathEquals("--home--", "--home", "--");
    assert PathUtils.pathEquals("--home", "--home--", "--");
    assert !(PathUtils.pathEquals("/", "/home", "/"));
    assert !(PathUtils.pathEquals("/home", "/home/", "\\"));
    assert !(PathUtils.pathEquals("/home/", "/home", "\\"));
    assert !(PathUtils.pathEquals("C:\\", "C:\\home", "\\"));
    assert !(PathUtils.pathEquals("C:\\home", "C:\\home\\", "/"));
    assert !(PathUtils.pathEquals("C:\\home\\", "C:\\home", "/"));
    assert !(PathUtils.pathEquals("--", "--home", "--"));
    assert !(PathUtils.pathEquals("--home", "--home--", "/"));
    assert !(PathUtils.pathEquals("--home--", "--home", "/"));
}