( list_split )
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 |
|---|---|---|---|---|---|
| ( slice_from_m_to_n ) | items[m:n+1] | - | - | - | - |
| ( slice_from_m_to_end ) | items[m:] | - | - | - | - |
| ( flatten ) | comprehension | - | - | - | - |
| ( last_element ) | items[-1] | - | - | - | - |
| ( first_element ) | items[0] | - | - | - | - |
| ( remove_nth_element ) | items[0] | - | - | - | - |
| ( replace_partial ) | items[m:n+1] = elems | - | - | - | - |