NUnitAsp

WebAssert.Sorted Method (String[][], Int32, Boolean, DataType, String)

Asserts that the "rows" in a "table" of strings are sorted.

public static void Sorted(
   string[][] data,
   int column,
   bool isAscending,
   DataType type,
   string message
);

Parameters

data
The table to check.
column
The column that must be sorted.
isAscending
'true' if the table should be sorted from low to high; 'false' if the table should be sorted from high to low.
type
The type of data in the column that's sorted.
message
A noun to display if the assertion fails.

See Also

WebAssert Class | NUnit.Extensions.Asp Namespace | WebAssert.Sorted Overload List