Skip to content

NumericAssertions<TSelf, T>.BeNegative Method ​

Definition ​

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

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

View source

Returns ​

AssertionsChain<TSelf, T>

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