Why does this Assert fail?
Posted
by Peter Goras
on Stack Overflow
See other posts from Stack Overflow
or by Peter Goras
Published on 2010-06-14T06:57:45Z
Indexed on
2010/06/14
7:02 UTC
Read the original article
Hit count: 234
unit-testing
|mstest
IEnumerable<ReportReceipt> expected = new List<ReportReceipt>()
{
new ReportReceipt("fileName1","Hash1","some comments1")
};
IEnumerable<ReportReceipt> actual = new List<ReportReceipt>()
{
new ReportReceipt("fileName1","Hash1","some comments1")
};
Assert.IsTrue(expected.SequenceEqual(actual));
I'm running MSTest with VS 2008.
© Stack Overflow or respective owner