@Test
public void testAdd() {

	double px = getRandom().nextDouble();
	double py = getRandom().nextDouble();
	double pz = -getRandom().nextDouble();
	double pm = getRandom().nextDouble();
	
	double x = Math.min(this.minx, px);
	double X = Math.max(this.maxx, px);
	double y = Math.min(this.miny, py);
	double Y = Math.max(this.maxy, py);
	double z = Math.min(this.minz, pz);
	double Z = Math.max(this.maxz, pz);
	double m = Math.min(this.minm, pm);
	double M = Math.max(this.maxm, pm);
	
	this.bounds.add(new ESRIPoint(px, py, pz, pm));
	
	assertEpsilonEquals(x, this.bounds.getMinX());
	assertEpsilonEquals(X, this.bounds.getMaxX());
	assertEpsilonEquals(y, this.bounds.getMinY());
	assertEpsilonEquals(Y, this.bounds.getMaxY());
	assertEpsilonEquals(z, this.bounds.getMinZ());
	assertEpsilonEquals(Z, this.bounds.getMaxZ());
	assertEpsilonEquals(m, this.bounds.getMinM());
	assertEpsilonEquals(M, this.bounds.getMaxM());
}