/**
* Check that the equals() method distinguishes all fields.
*/
public void testEquals() {
XYStepAreaRenderer r1 = new XYStepAreaRenderer();
XYStepAreaRenderer r2 = new XYStepAreaRenderer();
assertEquals(r1, r2);
r1.setOutline(true);
assertFalse(r1.equals(r2));
r2.setOutline(true);
assertTrue(r1.equals(r2));
r1.setShapesVisible(true);
assertFalse(r1.equals(r2));
r2.setShapesVisible(true);
assertTrue(r1.equals(r2));
r1.setShapesFilled(true);
assertFalse(r1.equals(r2));
r2.setShapesFilled(true);
assertTrue(r1.equals(r2));
r1.setPlotArea(false);
assertFalse(r1.equals(r2));
r2.setPlotArea(false);
assertTrue(r1.equals(r2));
r1.setRangeBase(-1.0);
assertFalse(r1.equals(r2));
r2.setRangeBase(-1.0);
assertTrue(r1.equals(r2));
}