@Test
public void testDepth() {

	Path p = new Path("/my/path");
	assertEquals(2, p.depth());
	p = new Path("/my/fancy/path/");
	assertEquals(3, p.depth());
	p = new Path("/my/fancy/fancy/fancy/fancy/fancy/fancy/fancy/fancy/fancy/fancy/path");
	assertEquals(12, p.depth());
	p = new Path("/");
	assertEquals(0, p.depth());
	p = new Path("C:/my/windows/path");
	assertEquals(4, p.depth());
}