C# why datetime cannot compare?
Posted
by 5YrsLaterDBA
on Stack Overflow
See other posts from Stack Overflow
or by 5YrsLaterDBA
Published on 2010-04-28T18:35:30Z
Indexed on
2010/04/28
18:37 UTC
Read the original article
Hit count: 309
c#
|unit-testing
my C# unit test has the following statement:
Assert.AreEqual(logoutTime, log.First().Timestamp);
Why it is failed with following information:
Assert.AreEqual failed. Expected:<4/28/2010 2:30:37 PM>. Actual:<4/28/2010 2:30:37 PM>.
Are they not the same?
© Stack Overflow or respective owner