Sign in
chromium
/
infra
/
luci
/
luci-go
/
ae701cae096d129766981bd97624e485d94a159c
/
.
/
lucicfg
/
testdata
/
misc
/
sequence_next.star
blob: 804f59efe3fd53f76522fd8c14123b922570fe1a [
file
] [
log
] [
blame
]
load
(
'@stdlib//internal/sequence.star'
,
'sequence'
)
def
test_sequence_next
():
assert
.
eq
(
sequence
.
next
(
'a'
),
1
)
assert
.
eq
(
sequence
.
next
(
'a'
),
2
)
assert
.
eq
(
sequence
.
next
(
'b'
),
1
)
test_sequence_next
()