C# Class NFluent.DoubleSpecificCheckExtensions

Provides specific check methods to be executed on an double value.
Afficher le fichier Open project: tpierrain/NFluent

Méthodes publiques

Méthode Description
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).

Method Details

IsCloseTo() public static méthode

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.
Résultat ICheckLink>

IsFinite() public static méthode

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.
Résultat ICheckLink>

IsNaN() public static méthode

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.
Résultat ICheckLink>