( assign_variable )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( reassignable_variable ) | → | - | - | - | - |
| ( non_reassignable_variable ) | → | - | - | - | - |
| ( assign_with_type_check ) | → | - | - | - | - |
| ( assign_without_type ) | → | - | - | - | - |
| ( assign_multi_value ) | → | - | - | - | - |
| ( assign_multi_value_discard_partially ) | → | - | - | - | - |
| ( assign_multi_value_but_lhs_is_short ) | → | - | - | - | - |
| ( assign_multi_value_but_rhs_is_short ) | → | - | - | - | - |
| ( null_coalescing ) | x = -1 if a is None else a | - | - | - | - |
| ( null_coalescing_like_op_in_dictionary ) | d.get(k, -1) | - | - | - | - |
| ( assignment_expression_in_conditional_block ) | := | - | - | - | - |