Mark, You may want to use Assert.Sorted<http://interfacingreality.blogspot.com/2009/07/assertsorted-in-mbunit-v3.html> instead. If the elements of your sequence are IComparable<T> objects, then it's immediate; otherwise you will need to provide a custom comparison mechanism as shown in the example.
For Assert.Over, there is not too much documentation yet; but you can find some interesting test cases in the test project of MbUnit: http://code.google.com/p/mb-unit/source/browse/trunk/v3/src/MbUnit/MbUnit.Tests/Framework/AssertOverSyntaxTest.cs Hope it helps, Yann 2010/7/30 Mark Kharitonov <[email protected]> > Hi. > > I have noticed the presence of Assert.Over property. Are there any > examples of it? > > For instance, I wish to assert that a certain sequence is monotonic. > How do I do it with Assert.Over, if at all? > > Thanks. > > -- > 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.
