public void TestEqualsFalseForNull() { var groupAlgebra = new CurveGroupAlgebra(curveParameters); bool result = groupAlgebra.Equals(null); Assert.IsFalse(result); }
public void TestEqualsFalseForOtherAlgebra() { var groupAlgebra = new CurveGroupAlgebra(curveParameters); var otherAlgebra = new CurveGroupAlgebra(largeParameters); bool result = groupAlgebra.Equals(otherAlgebra); Assert.IsFalse(result); }
public void TestEqualsFalseForUnrelatedObject() { var groupAlgebra = new CurveGroupAlgebra(curveParameters); var otherAlgebra = new object(); bool result = groupAlgebra.Equals(otherAlgebra); Assert.IsFalse(result); }