Skip to content

NumericAssertions<TSelf, T>.NotBeNegative Method ​

Definition ​

Asserts that the value is not negative (not less than zero).

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

View source

Returns ​

AssertionsChain<TSelf, T>

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