AssertEqualsAsync

Parent Previous Next

AssertEqualsAsync

Description: the method performs a check between the actual and expected values, in case of a mismatch, the check will be considered a failure

Syntax: AssertEqualsAsync(dynamic expected, dynamic actual)

Return value: bool (true or false)


Example:

string expected = "xyz";

string actual = "xyz";

bool result = await tester.AssertEqualsAsync(expected, actual);

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator