Check method |
Applies to
TTestCase
Declaration
Procedure Check(condition: boolean; msg: string = '');
Description
Logs a failure using the optional message string if not.
Parameters |
condition | The condition to check. |
msg | An optional message use if the check fails. |
procedure TTestCase.Check(condition :boolean; msg :string); begin if (not condition) then Fail(msg, CallerAddr); End; |
|