예제 #1
0
 protected override void AssertValues(IExtObjectContainer objectContainer, object[]
                                      values)
 {
     Assert.AreEqual(1, values.Length);
     PlainObjectUpdateTestCase.Item item = (PlainObjectUpdateTestCase.Item)values[0];
     Assert.IsNotNull(item);
     Assert.IsNotNull(item._typed);
     Assert.AreSame(item._typed, item._untyped);
 }
예제 #2
0
 public override bool Equals(object obj)
 {
     if (this == obj)
     {
         return(true);
     }
     if (obj == null)
     {
         return(false);
     }
     if (GetType() != obj.GetType())
     {
         return(false);
     }
     PlainObjectUpdateTestCase.Item other = (PlainObjectUpdateTestCase.Item)obj;
     return(Check.ObjectsAreEqual(_typed, other._typed) && Check.ObjectsAreEqual(_untyped
                                                                                 , other._untyped));
 }