( functional )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| 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 ) | → | - | - | - | - |