Click or drag to resize

ComparableAssertIsLowerThanOrEqualToT Method (T, T)

Verifies that the specified value is lower than or equal to the threshold.

Namespace:  Enkoni.Framework.Testing
Assembly:  Enkoni.Framework.Testing (in Enkoni.Framework.Testing.dll) Version: 1.3.0.1
Syntax
public static void IsLowerThanOrEqualTo<T>(
	T threshold,
	T value
)
where T : Object, IComparable<T>

Parameters

threshold
Type: T
The threshold value.
value
Type: T
The value that is expected to be lower than or equal to the threshold.

Type Parameters

T
The type of objects to compare.
See Also