standalone: Add tuple len test

This commit is contained in:
David Mak 2024-08-05 11:48:32 +08:00 committed by lyken
parent 8ec8e332fd
commit 21adaa9fe6
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 8 additions and 1 deletions

View File

@ -26,4 +26,11 @@ def run() -> int32:
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