C# Class NBench.Sdk.Assertion

Executes an assertion against a given metric
Afficher le fichier Open project: petabridge/NBench Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty Assertion

Méthodes publiques

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

Private Methods

Méthode Description
Equals ( Assertion other ) : bool

Method Details

Assertion() public méthode

public Assertion ( MustBe condition, double value, double maxValue ) : System.Diagnostics.Contracts
condition MustBe
value double
maxValue double
Résultat System.Diagnostics.Contracts

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

MustBeToString() public static méthode

public static MustBeToString ( MustBe condition ) : string
condition MustBe
Résultat string

Test() public méthode

public Test ( double testValue ) : bool
testValue double
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Empty public_oe static_oe property

Empty assertion - used when in TestMode.Measurement.
public static Assertion,NBench.Sdk Empty
Résultat Assertion