Summary
Asserts that a condition is true. If the condition is false
the method throws a
TCLite.AssertionException,
ending the running test and reporting it as a Failure.
Syntax
public static void IsTrue(bool condition, string message = null, params object[] args)
Parameters
| Name | Type | Description |
|---|---|---|
| condition | bool | The evaluated condition |
| message | string | The message to display in case of failure |
| args | object[] | Array of objects to be used in formatting the message |
Return Value
| Type | Description |
|---|---|
| void |
