public void InequalityCorrect() { PropertySegment propertySegment1 = new PropertySegment(HardCodedTestModel.GetPersonNameProp()); PropertySegment propertySegment2 = new PropertySegment(HardCodedTestModel.GetPersonShoeProp()); BatchSegment batchSegment = BatchSegment.Instance; propertySegment1.Equals(propertySegment2).Should().BeFalse(); propertySegment1.Equals(batchSegment).Should().BeFalse(); }
public void EqualityCorrect() { PropertySegment propertySegment1 = new PropertySegment(HardCodedTestModel.GetPersonNameProp()); PropertySegment propertySegment2 = new PropertySegment(HardCodedTestModel.GetPersonNameProp()); propertySegment1.Equals(propertySegment2).Should().BeTrue(); }
public void EqualityCorrect() { PropertySegment propertySegment1 = new PropertySegment(HardCodedTestModel.GetPersonNameProp()); PropertySegment propertySegment2 = new PropertySegment(HardCodedTestModel.GetPersonNameProp()); Assert.True(propertySegment1.Equals(propertySegment2)); }