Skip to content

NumericAssertions<TSelf, T>.BePositive Method ​

Definition ​

Asserts that the value is positive (greater than zero).

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

View source

Returns ​

AssertionsChain<TSelf, T>

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