C# 클래스 NBench.Sdk.Assertion

Executes an assertion against a given metric
파일 보기 프로젝트 열기: petabridge/NBench 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty Assertion

공개 메소드들

메소드 설명
Assertion ( MustBe condition, double value, double maxValue ) : System.Diagnostics.Contracts
Equals ( object obj ) : bool
GetHashCode ( ) : int
MustBeToString ( MustBe condition ) : string
Test ( double testValue ) : bool
ToString ( ) : string
operator ( ) : bool

비공개 메소드들

메소드 설명
Equals ( Assertion other ) : bool

메소드 상세

Assertion() 공개 메소드

public Assertion ( MustBe condition, double value, double maxValue ) : System.Diagnostics.Contracts
condition MustBe
value double
maxValue double
리턴 System.Diagnostics.Contracts

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

MustBeToString() 공개 정적인 메소드

public static MustBeToString ( MustBe condition ) : string
condition MustBe
리턴 string

Test() 공개 메소드

public Test ( double testValue ) : bool
testValue double
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

Empty assertion - used when in TestMode.Measurement.
public static Assertion,NBench.Sdk Empty
리턴 Assertion