Skip to content

ComparableAssertions<TSelf, T>.BeLessThan Method ​

Definition ​

Asserts that the value is less than the expected value.

c#
public AssertionsChain<TSelf, T> BeLessThan(T expected);

View source

Parameters ​

NameTypeDescription
expectedTThe value the value should be less than.

Returns ​

AssertionsChain<TSelf, T>

An AssertionsChain<TAssertions, T> for chaining further assertions.