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); } }
protected virtual void AssertAreEqual(DateTime expected, DateTime actual) { AssertDateTime.IsEqual(expected, actual); }