Skip to content

NumericAssertions<TSelf, T>.NotBePositive Method ​

Definition ​

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

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

View source

Returns ​

AssertionsChain<TSelf, T>

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