Constructor
new SequencesAreEqual(testName, expected, actual, itemCompareropt, thisArgopt)
- Description:
- Compares two iterable sequences element by element.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
testName |
string | Name of the test. | |
expected |
Iterable.<any> | Expected sequence. | |
actual |
Iterable.<any> | Actual sequence. | |
itemComparer |
function |
<optional> |
Optional custom comparison function to compare individual items ((expected, actual) => boolean). |
thisArg |
any |
<optional> |
Optional `this` binding for the itemComparer. |
Classes
Methods
runImpl() → {boolean}
- Description:
- Runs the test without printing.
- Source:
Returns:
Whether the test passed.
- Type
- boolean