( array_loop )
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 |
|---|---|---|---|---|---|
| ( array_foreach ) | for item in items | for (string& item: items) | - | - | - |
| ( array_foreach_with_index ) | for i, v in enumerate(items) | - | - | - | - |
| ( array_for_in ) | for i in range(n) | - | - | - | - |
| ( loop_multiple_items_together ) | use zip | - | - | - | - |
| ( get_items_by_n_count ) | items[i:i+n] for .. | - | - | - | - |