forked from M-Labs/nac3
standalone: Add tuple len test
This commit is contained in:
parent
12c4e1cf48
commit
d0da688aa7
|
@ -25,5 +25,12 @@ def run() -> int32:
|
||||||
output_int32(tl[0][0])
|
output_int32(tl[0][0])
|
||||||
output_int32(tl[0][1])
|
output_int32(tl[0][1])
|
||||||
output_int32(tl[1])
|
output_int32(tl[1])
|
||||||
|
|
||||||
|
output_int32(len(()))
|
||||||
|
output_int32(len((1,)))
|
||||||
|
output_int32(len((1, 2)))
|
||||||
|
output_int32(len((1, 2, 3)))
|
||||||
|
output_int32(len((1, 2, 3, 4)))
|
||||||
|
output_int32(len((1, 2, 3, 4, 5)))
|
||||||
|
|
||||||
return 0
|
return 0
|
Loading…
Reference in New Issue