Heler API for collection-related operations. More...
Heler API for collection-related operations.
|
inlinestatic |
Checks that all collection elements adhere the predicate.
pred | Predicate to check. |
values | Values to check. |
|
inlinestatic |
Checks that any collection element adheres the predicate.
pred | Predicate to check. |
values | Values to check. |
|
inlinestatic |
Serializes two collections for message representation.
T1 | Expected collection element type. |
T2 | Actual collection element type. |
extra_msg | A custom string which is inserted before the expected value in the resulting message |
expected | Expected collection. |
actual | Actual collection. |
|
inlinestatic |
Converts collection to string by joining string representations of elements.
T | Collection element type. |
ie | Collection to check. |
|
inlinestatic |
Calculates 'diff' between two collections. For every element of each collection as key resulting value will be positive if element occures more times in "expected" collection, negative if element occures more times in "actual" collection, and zero if element occures equal times in each collection.
T1 | Expected collection element type. |
T2 | Actual collection element type. |
expected | Expected collection. |
actual | Actual collecion. |
|
inlinestatic |