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();
 }
示例#2
0
        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();
        }
示例#3
0
        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));
        }
 public void EqualityIsCorrect()
 {
     EntitySetSegment segment1 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet());
     EntitySetSegment segment2 = new EntitySetSegment(HardCodedTestModel.GetPeopleSet());
     segment1.Equals(segment2).Should().BeTrue();
 }