Checking two Lists are equal or not??
"Chakkaradeep C C" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I have two Lists List<Type> expectedLists=new List<Type>(); .... .... List<Type> typeLists=MyObject.MyFunction(); I tried, Assert.That(expectedLists,Is.EquivalentTo(typeLists)); But this doesn't check whether two lists are equal content wise. Any idea how to do it? Does NUnit has this option? Thanks, -- Regards, C.C.Chakkaradeep, http://chakkaradeep.wordpress.com -- "Sometimes it's better not to ask - or to listen - when people tell you something can't be done. I didnt ask for permission or approval. I just went ahead and did it." - from "Direct from Dell" ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users