Compare 2 lists in MbUnit 3.1

Posted by Longball27 on Stack Overflow See other posts from Stack Overflow or by Longball27
Published on 2010-05-11T13:29:16Z Indexed on 2010/05/11 13:34 UTC
Read the original article Hit count: 241

Filed under:
|
|
|
|

Hi

I am trying to compare 2 Dictionary objects for equality in MbUnit 3.1 like so

Assert.AreEqual<FieldList>(expectedOutputFieldList, actualOutputFieldList);

Where FieldList is = Dictionary<string, object>

However this throws up the following "error":

Both values look the same when formatted but they are distinct instances.

Is there any method for comparing object data rather than instances?

Thanks in advance...

© Stack Overflow or respective owner

Related posts about c#

Related posts about gallio