( list_ops )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( push_item ) | append | - | - | - | - |
| ( concat_in_place ) | extend | - | - | - | - |
| ( concat_into_new_items ) | + | - | - | - | - |
| ( pop_item ) | pop | - | - | - | - |
| ( clear_in_place ) | clear | - | - | - | - |
| ( clear_by_reassign ) | items = [] | - | - | - | - |
| ( item_size ) | len(items) | - | - | - | - |
| ( insert_item_by_position ) | items.insert(i, v) | - | - | - | - |
| ( unshift ) | insert(0, v) | - | - | - | - |
| ( shift ) | pop(0) | - | - | - | - |
| ( deep_copy ) | copy.deepcopy | - | - | - | - |