@Test
public void testIsAbsolute() {

	// UNIX
	Path p = new Path("/my/abs/path");
	assertTrue(p.isAbsolute());
	p = new Path("/");
	assertTrue(p.isAbsolute());
	p = new Path("./my/rel/path");
	assertFalse(p.isAbsolute());
	p = new Path("my/rel/path");
	assertFalse(p.isAbsolute());
	// WINDOWS
	p = new Path("C:/my/abs/windows/path");
	assertTrue(p.isAbsolute());
	p = new Path("y:/my/abs/windows/path");
	assertTrue(p.isAbsolute());
	p = new Path("/y:/my/abs/windows/path");
	assertTrue(p.isAbsolute());
	p = new Path("b:\\my\\abs\\windows\\path");
	assertTrue(p.isAbsolute());
	p = new Path("/c:/my/dir");
	assertTrue(p.isAbsolute());
	p = new Path("/C:/");
	assertTrue(p.isAbsolute());
	p = new Path("C:");
	assertFalse(p.isAbsolute());
	p = new Path("C:/");
	assertTrue(p.isAbsolute());
	p = new Path("C:my\\relative\\path");
	assertFalse(p.isAbsolute());
	p = new Path("\\my\\dir");
	assertTrue(p.isAbsolute());
	p = new Path("\\");
	assertTrue(p.isAbsolute());
	p = new Path(".\\my\\relative\\path");
	assertFalse(p.isAbsolute());
	p = new Path("my\\relative\\path");
	assertFalse(p.isAbsolute());
	p = new Path("\\\\myServer\\myDir");
	assertTrue(p.isAbsolute());
}