C# 클래스 NFluent.TimeSpanCheckExtensions

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

공개 메소드들

메소드 설명
IsEqualTo ( this check, System.TimeSpan comparand ) : ICheckLink>

Checks that the actual duration is equal to a target duration.

IsEqualTo ( this check, double duration, TimeUnit unit ) : ICheckLink>

Checks that the actual duration is equal to a target duration.

IsGreaterThan ( this check, System.TimeSpan comparand ) : ICheckLink>

Checks that the actual duration is greater (strictly) than a comparand.

IsGreaterThan ( this check, double providedDuration, TimeUnit unit ) : ICheckLink>

Checks that the actual duration is greater (strictly) than a comparand.

IsLessThan ( this check, System.TimeSpan comparand ) : ICheckLink>

Checks that the actual duration is less (strictly) than a comparand.

IsLessThan ( this check, double providedDuration, TimeUnit unit ) : ICheckLink>

Checks that the actual duration is less (strictly) than a comparand.

메소드 상세

IsEqualTo() 공개 정적인 메소드

Checks that the actual duration is equal to a target duration.
The actual value is not equal to the target duration.
public static IsEqualTo ( this check, System.TimeSpan comparand ) : ICheckLink>
check this The fluent check to be extended.
comparand System.TimeSpan The duration to be compared to.
리턴 ICheckLink>

IsEqualTo() 공개 정적인 메소드

Checks that the actual duration is equal to a target duration.
The actual value is not equal to the target duration.
public static IsEqualTo ( this check, double duration, TimeUnit unit ) : ICheckLink>
check this The fluent check to be extended.
duration double The duration to be compared to.
unit TimeUnit The in which duration is expressed.
리턴 ICheckLink>

IsGreaterThan() 공개 정적인 메소드

Checks that the actual duration is greater (strictly) than a comparand.
The actual value is not greater than the provided comparand.
public static IsGreaterThan ( this check, System.TimeSpan comparand ) : ICheckLink>
check this The fluent check to be extended.
comparand System.TimeSpan The value to compare to.
리턴 ICheckLink>

IsGreaterThan() 공개 정적인 메소드

Checks that the actual duration is greater (strictly) than a comparand.
The actual value is not greater than the provided comparand.
public static IsGreaterThan ( this check, double providedDuration, TimeUnit unit ) : ICheckLink>
check this The fluent check to be extended.
providedDuration double The duration to compare to.
unit TimeUnit The unit in which the duration is expressed.
리턴 ICheckLink>

IsLessThan() 공개 정적인 메소드

Checks that the actual duration is less (strictly) than a comparand.
The actual value is not less than the provided comparand.
public static IsLessThan ( this check, System.TimeSpan comparand ) : ICheckLink>
check this The fluent check to be extended.
comparand System.TimeSpan The value to compare to.
리턴 ICheckLink>

IsLessThan() 공개 정적인 메소드

Checks that the actual duration is less (strictly) than a comparand.
The actual value is not less than the provided duration.
public static IsLessThan ( this check, double providedDuration, TimeUnit unit ) : ICheckLink>
check this The fluent check to be extended.
providedDuration double The duration to compare to.
unit TimeUnit The unit in which the duration is expressed.
리턴 ICheckLink>