/**
* Test that the equals() method distinguishes all fields.
*/
public void testEquals() {
LineRenderer3D r1 = new LineRenderer3D();
LineRenderer3D r2 = new LineRenderer3D();
assertEquals(r1, r2);
r1.setXOffset(99.9);
assertFalse(r1.equals(r2));
r2.setXOffset(99.9);
assertTrue(r1.equals(r2));
r1.setYOffset(111.1);
assertFalse(r1.equals(r2));
r2.setYOffset(111.1);
assertTrue(r1.equals(r2));
r1.setWallPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f,
Color.blue));
assertFalse(r1.equals(r2));
r2.setWallPaint(new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f,
Color.blue));
assertTrue(r1.equals(r2));
}