示例#1
0
 protected virtual void AssertAreEqual(T_PROPERTY expected, T_PROPERTY actual)
 {
     if (typeof(T_PROPERTY) == typeof(DateTime?) || typeof(T_PROPERTY) == typeof(DateTime))
     {
         AssertDateTime.IsEqual(expected as DateTime?, actual as DateTime?);
     }
     else
     {
         Assert.AreEqual(expected, actual);
     }
 }
示例#2
0
 protected virtual void AssertAreEqual(DateTime expected, DateTime actual)
 {
     AssertDateTime.IsEqual(expected, actual);
 }