public void InequalityIsCorrect() { EntitySetSegment segment1 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet()); EntitySetSegment segment2 = new EntitySetSegment(HardCodedTestModel.GetDogsSet()); BatchSegment segment3 = BatchSegment.Instance; segment1.Equals(segment2).Should().BeFalse(); segment1.Equals(segment3).Should().BeFalse(); }
public void EqualityIsCorrect() { EntitySetSegment segment1 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet()); EntitySetSegment segment2 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet()); segment1.Equals(segment2).Should().BeTrue(); }
public void EqualityIsCorrect() { EntitySetSegment segment1 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet()); EntitySetSegment segment2 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet()); Assert.True(segment1.Equals(segment2)); }