@Test
public void testCompareTo() {

	assertEquals(-1, this.bounds.compareTo(null));
	assertEquals(0, this.bounds.compareTo(this.bounds));
	assertEquals(0, this.bounds.compareTo(new ESRIBounds(this.bounds)));
	assertEquals(1, this.bounds.compareTo(new ESRIBounds()));
	assertEquals(0, this.bounds.compareTo(new ESRIBounds(
			this.minx, this.maxx, 
			this.miny, this.maxy, 
			this.minz, this.maxz,
			this.minm, this.maxm)));
	assertEquals(-1, this.bounds.compareTo(new ESRIBounds(
			this.minx-1, this.maxx, 
			this.miny, this.maxy, 
			this.minz, this.maxz,
			this.minm, this.maxm)));
	assertEquals(1, this.bounds.compareTo(new ESRIBounds(
			this.minx+1, this.maxx, 
			this.miny, this.maxy, 
			this.minz, this.maxz,
			this.minm, this.maxm)));
	assertEquals(-1, this.bounds.compareTo(new ESRIBounds(
			this.minx-1, this.maxx, 
			this.miny-1, this.maxy, 
			this.minz, this.maxz,
			this.minm, this.maxm)));
	assertEquals(1, this.bounds.compareTo(new ESRIBounds(
			this.minx+1, this.maxx, 
			this.miny-1, this.maxy, 
			this.minz, this.maxz,
			this.minm, this.maxm)));
}