( functional )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( map_with_comprehension ) | [x for x in items] | - | - | - | - |
| ( map_with_lambda ) | → | - | - | - | - |
| ( map_with_named_function ) | → | - | - | - | - |
| ( filter_with_comprehension ) | [x for x in items if ...] | - | - | - | - |
| ( filter_with_lambda ) | filter(lambda ..) | - | - | - | - |
| ( filter_with_named_function ) | filter(fn, items) | - | - | - | - |
| ( example_exclude_empty_elements ) | → | - | - | - | - |
| ( example_trim_trailing_empty_elements ) | not functional | - | - | - | - |
| ( example_quote_and_join ) | → | - | - | - | - |