( array_init )

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
( init_empty_array ) [] {} items: [Int] = [] -
( init_empty_set ) set() {} TODO: .. -
( init_array ) [ .. ] { ... } [ .. ] -
( init_tuple ) ( .. ) - ( .. ) - -
( is_tuple_allows_size_1 ) Yes - No - -
( init_array_allows_last_comma ) Yes - - - -
( init_set ) { .. } - - - -
( sequence_1_to_n ) range(1, n+1) - - -
( sequence_n_to_1 ) range(n, 0, -1) - - - -
( sequence_step_by_x ) range(1, n+1, x) - - - -
( sequence_a_to_z ) - - - -
( init_with_size ) items = [x] * n - - - -
( immutable_array ) tuple - - - -
( immutable_set ) frozenset - - - -
( named_tuple ) namedtuple('T', ['x', 'y']) - (x: 1, y: 2) - -
( set_to_array ) list(s) items(s.begin(), s.end()) - - -
( sequence_ato_z ) - - - -
( test_immutable_array ) - - - -
( test_immutable_set ) - - - -