( dict_elem_ops )
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 |
|---|---|---|---|---|---|
| ( sort_by_value ) | → | - | - | - | - |
| ( sort_by_key ) | → | - | - | - | - |
| ( dict_comprehension ) | { k: v for k, v in kvs } | - | - | - | - |
| ( dict_merge_into_new_dict ) | d1 | d2 | - | - | - | - |
| ( dict_merge_in_place ) | d1 |= d2 | - | - | - | - |
| ( dict_clear ) | d.clear | - | - | - | - |
| ( dict_size ) | len(d) | - | - | - | - |
| ( remove_elem_by_key ) | d.pop(k) | - | - | - | - |
| ( ordered_dict ) | default dict keeps order | - | - | - | - |