* Confirm that cloning works.
*/
public void testCloning() {
double start = 10.0;
double end = 20.0;
HistogramBin b1 = new HistogramBin(start, end);
HistogramBin b2 = null;
try {
b2 = (HistogramBin) b1.clone();
}
catch (CloneNotSupportedException e) {
System.err.println("Failed to clone.");
}
assertTrue(b1 != b2);
assertTrue(b1.getClass() == b2.getClass());
assertTrue(b1.equals(b2));
}