public void Equals_DiffentExpression_Is_NotIsEqual() { //---------------Set up test pack------------------- var multiAssign = new CaseConvertTO("A", "A", "", 1); var multiAssign1 = new CaseConvertTO("A", "A", "a", 2); //---------------Assert Precondition---------------- Assert.IsNotNull(multiAssign); //---------------Execute Test ---------------------- var @equals = multiAssign.Equals(multiAssign1); //---------------Test Result ----------------------- Assert.IsFalse(@equals); }
public void Equals_EmptyTos_IsEqual() { //---------------Set up test pack------------------- var multiAssign = new CaseConvertTO(); var multiAssign1 = new CaseConvertTO(); //---------------Assert Precondition---------------- Assert.IsNotNull(multiAssign); //---------------Execute Test ---------------------- var @equals = multiAssign.Equals(multiAssign1); //---------------Test Result ----------------------- Assert.IsTrue(@equals); }