Re: Checking two Lists are equal or not??
"Chakkaradeep C C" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Charlie, On Jan 9, 2008 3:22 PM, Charlie Poole <[email protected]> wrote: > Assert.That( expectedLists, Is.EqualTo( typeLists ) ); > That doesn't work. Here is what I get, *NUnit.Framework.AssertionException: Expected and actual are both < System.Collections.Generic.List`1[Educator.DataAccess.Department ]> with 2 elements Values differ at index [0] Expected: <Educator.DataAccess.Department> But was: <Educator.DataAccess.Department>* -- 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