Skip to content

IntegerAssertions<T>.BeLessThan Method

Definition

Asserts that the integer value is less than the expected value.

public IntegerAssertionsChain<T> BeLessThan(T expected);

Parameters

Name Type Description
expected T The value the integer should be less than.

Returns

IntegerAssertionsChain<T>

An IntegerAssertionsChain<T> for chaining further assertions.