public void EqualsTestReferenceEquals()
 {
     SparseMatrix o1 = new SparseMatrix(1, 2);
     SparseMatrix o2 = o1;
     Assert.IsTrue(o1.Equals(o2));
 }
 public void EqualsTestInequality()
 {
     SparseMatrix o1 = new SparseMatrix(1, 2);
     SparseMatrix o2 = new SparseMatrix(2, 1);
     Assert.IsFalse(o1.Equals(o2));
 }
 public void EqualsTestObjectReferenceEquality()
 {
     SparseMatrix o1 = new SparseMatrix(1, 2);
     SparseMatrix o2 = new SparseMatrix(1, 2);
     Assert.IsTrue(o1.Equals((Object) o2));
 }
 public void EqualsTestEquality()
 {
     SparseMatrix o1 = new SparseMatrix(1, 2);
     SparseMatrix o2 = new SparseMatrix(1, 2);
     Assert.IsTrue(o1.Equals(o2));
 }