I did not even know there was some assertions for multidimensional arrays in
v2 :)

I will have a look.

Stay tuned...

Yann.

2010/3/8 Jeff Brown <[email protected]>

> To be honest, I completely forgot about multidimensional arrays when I
> designed those asserts!
>
> For now, use OldCollectionAssert in the MbUnit.Compatibility.dll.  These
> are basically the old MbUnit v2 asserts wrapped up in a form that MbUnit v3
> can handle.
>
> Adding correct support for multidimensional arrays to the MbUnit v3 asserts
> is pretty easy.  I'll bet Yann would be willing to do it.  So the net result
> is that we should be able to implement this feature for you within a week or
> so.
>
> Jeff.
>
>
> On Mon, Mar 8, 2010 at 8:26 AM, Scott Williams <[email protected]>wrote:
>
>> Hello there.  I'm currently trying to establish the unit test
>> framework that we will be using at my company and I was going to use
>> MbUnit3 along with MSpec.  However in creating a sample project to
>> show my boss and the other developers how I'd liked to see projects
>> created, I've rand into a bit of a snafu.
>>
>> I have a 2d array of values I need to compare.  We have some older
>> code using MSTest that has a CollectionAssert class that does this.  I
>> see that MbUnit2 has a CollectionAssert class that will handle this.
>> The MbUnit3 Assert.AreElementsEqual methods do not handle this input.
>>
>> So, I tried to just change my references to the mbUnit2 assemblies,
>> but then a test I had written earlier that uses Assert.Throws fails (I
>> have not looked to see what the mbUnit2 method is for exceptions
>> cases).  I can't reference both mbUnit2 and 3 because I have a
>> namespace collisions.  I'm not sure if there is a way to resolve this.
>>
>> Am I missing a method in the new mbUnit3 Assert class that should
>> handle comparing the elements of two 2d arrays?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "MbUnit.User" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<mbunituser%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/mbunituser?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "MbUnit.User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<mbunituser%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/mbunituser?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en.

Reply via email to