C# Класс NFluent.FloatSpecificCheckExtensions

Provides specific check methods to be executed on an float value.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsCloseTo ( this check, Double expected, Double within ) : ICheckLink>

Determines wehther the actual number is close to an expected value within a given within.

IsFinite ( this check ) : ICheckLink>

Determines whether the specified number evaluates to a value that is finite (i.e. not infinity).

IsNaN ( this check ) : ICheckLink>

Determines whether the specified number evaluates to a value that is not a number (NaN).

Описание методов

IsCloseTo() публичный статический Метод

Determines wehther the actual number is close to an expected value within a given within.
public static IsCloseTo ( this check, Double expected, Double within ) : ICheckLink>
check this The fluent check to be extended.
expected Double The expected value.
within Double The within.
Результат ICheckLink>

IsFinite() публичный статический Метод

Determines whether the specified number evaluates to a value that is finite (i.e. not infinity).
The specified number evaluates to a value that is infinite (i.e. equals to infinity).
public static IsFinite ( this check ) : ICheckLink>
check this The fluent check to be extended.
Результат ICheckLink>

IsNaN() публичный статический Метод

Determines whether the specified number evaluates to a value that is not a number (NaN).
The current value is a number.
public static IsNaN ( this check ) : ICheckLink>
check this The fluent check to be extended.
Результат ICheckLink>