AssertTrueAsync

Parent Previous Next

AssertTrueAsync

Description: the method checks the value of true or false, and if the value is false, the check will be considered a failure

Syntax: AssertTrueAsync(bool condition)

Return value: bool (true or false)


Example:

bool flag = true;

bool result = await tester.AssertTrueAsync(flag);

Created with the Personal Edition of HelpNDoc: Free help authoring environment