Property | Type | Description | |
---|---|---|---|
Check | System |
Method | Description | |
---|---|---|
Assert ( bool assertion ) : void |
Assertion check.
|
|
Assert ( bool assertion, string message ) : void |
Assertion check.
|
|
Assert ( bool assertion, string message, |
Assertion check.
|
|
Ensure ( bool assertion ) : void |
Postcondition check.
|
|
Ensure ( bool assertion, string message ) : void |
Postcondition check.
|
|
Ensure ( bool assertion, string message, |
Postcondition check.
|
|
Invariant ( bool assertion ) : void |
Invariant check.
|
|
Invariant ( bool assertion, string message ) : void |
Invariant check.
|
|
Invariant ( bool assertion, string message, |
Invariant check.
|
|
Require ( bool assertion ) : void |
Precondition check - should run regardless of preprocessor directives.
|
|
Require ( bool assertion, string message ) : void |
Precondition check - should run regardless of preprocessor directives.
|
|
Require ( bool assertion, string message, |
Precondition check - should run regardless of preprocessor directives.
|
Method | Description | |
---|---|---|
Check ( ) : System |
public static Assert ( bool assertion ) : void | ||
assertion | bool | |
return | void |
public static Assert ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
return | void |
public static Assert ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
return | void |
public static Ensure ( bool assertion ) : void | ||
assertion | bool | |
return | void |
public static Ensure ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
return | void |
public static Ensure ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
return | void |
public static Invariant ( bool assertion ) : void | ||
assertion | bool | |
return | void |
public static Invariant ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
return | void |
public static Invariant ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
return | void |
public static Require ( bool assertion ) : void | ||
assertion | bool | |
return | void |
public static Require ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
return | void |
public static Require ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
return | void |