ComparableAssertIsLowerThanT Method (T, T) |
Verifies that the specified value is lower than the threshold.
Namespace:
Enkoni.Framework.Testing
Assembly:
Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntaxpublic static void IsLowerThan<T>(
T threshold,
T value
)
where T : Object, IComparable<T>
Public Shared Sub IsLowerThan(Of T As {Object, IComparable(Of T)}) (
threshold As T,
value As T
)
public:
generic<typename T>
where T : Object, IComparable<T>
static void IsLowerThan(
T threshold,
T value
)
static member IsLowerThan :
threshold : 'T *
value : 'T -> unit when 'T : Object and IComparable<'T>
Parameters
- threshold
- Type: T
The threshold value. - value
- Type: T
The value that is expected to be lower than the threshold.
Type Parameters
- T
- The type of objects to compare.
See Also