Skip to content

ComparableAssertions<TSelf, T>.BeGreaterThan Method ​

Definition ​

Asserts that the value is greater than the expected value.

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

View source

Parameters ​

NameTypeDescription
expectedTThe value the value should be greater than.

Returns ​

AssertionsChain<TSelf, T>

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