Skip to content

FloatingPointAssertions<T>.BeInfinity Method ​

Definition ​

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

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

View source

Returns ​

AssertionsChain<FloatingPointAssertions<T>, T>

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