C# 클래스 NFluent.DoubleSpecificCheckExtensions

Provides specific check methods to be executed on an double value.
파일 보기 프로젝트 열기: tpierrain/NFluent

공개 메소드들

메소드 설명
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>