public void Person_InEquality() { var personCopy = new Person(); personCopy.FirstName = "another"; personCopy.LastName = "name"; Assert.IsFalse(personCopy.Equals(person)); }
public void Person_CompareEquality() { var personCopy = new Person(); personCopy.FirstName = firstName; personCopy.LastName = lastName; Assert.IsTrue(personCopy.Equals(person)); }