( dict_init )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
PHP PHPUnit |
Swift Testing |
Csharp xunit |
Bash bats |
Powershell pester |
C++ GoogleTest |
JavaScript Jest |
Kotlin jUnit |
|---|---|---|---|---|---|---|---|---|---|
| ( init_empty_dict ) | → | - | - | - | - | - | {} | - | - |
| ( init_dict ) | { k1: v1, .. } | - | - | - | - | - | { {k1, v1}, .. } | - | - |
| ( set_dict_elem ) | d[k] = v | - | - | - | - | - | d[k] = v | - | - |
| ( init_empty_array ) | - | → | - | - | - | - | - | - | - |
| ( init_array ) | - | [ k1 => v1, ... ] | - | - | - | - | - | - | - |
| ( set_array_element ) | - | $d[$k] = $v | - | - | - | - | - | - | - |