Verifies that the sequence of values are sorted in the specified order.
Namespace:
MbUnit.Framework
Assembly:
MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void Sorted<T>(
IEnumerable<T> values,
SortOrder sortOrder
)
|
| Visual Basic (Declaration) |
|---|
Public Shared Sub Sorted(Of T) ( _
values As IEnumerable(Of T), _
sortOrder As SortOrder _
) |
Parameters
- values
- Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The sequence of values to be tested.
- sortOrder
- Type: MbUnit.Framework..::.SortOrder
The expected sort order.
Type Parameters
Exceptions
See Also