AssertTrueAsync

Parent Previous Next

AssertTrueAsync

Описание: метод выполняет проверку значения true или false, и в случае если значение равно false проверка будет считаться провальной

Синтаксис: AssertTrueAsync(bool condition)

Возвращаемое значение: логическое (true или false)


Пример:

bool flag = true;

bool result = await tester.AssertTrueAsync(flag);

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software