* Confirm that the equals method can distinguish all the required fields.
*/
public void testEquals() {
MatrixSeries s1 = new MatrixSeries("Series", 2, 3);
s1.update(0, 0, 1.1);
MatrixSeriesCollection c1 = new MatrixSeriesCollection();
c1.addSeries(s1);
MatrixSeries s2 = new MatrixSeries("Series", 2, 3);
s2.update(0, 0, 1.1);
MatrixSeriesCollection c2 = new MatrixSeriesCollection();
c2.addSeries(s2);
assertTrue(c1.equals(c2));
assertTrue(c2.equals(c1));
c1.addSeries(new MatrixSeries("Empty Series", 1, 1));
assertFalse(c1.equals(c2));
c2.addSeries(new MatrixSeries("Empty Series", 1, 1));
assertTrue(c1.equals(c2));
}