Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 5
0
 public void EqualityCorrect()
 {
     PropertySegment propertySegment1 = new PropertySegment(HardCodedTestModel.GetPersonNameProp());
     PropertySegment propertySegment2 = new PropertySegment(HardCodedTestModel.GetPersonNameProp());
     propertySegment1.Equals(propertySegment2).Should().BeTrue();
 }