Skip to content

FloatingPointAssertions<T>.NotBeInfinity Method ​

Definition ​

Asserts that the floating-point value is not positive or negative infinity.

c#
public AssertionsChain<FloatingPointAssertions<T>, T> NotBeInfinity();

View source

Returns ​

AssertionsChain<FloatingPointAssertions<T>, T>

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