From d0da688aa7a946c01893bbc4b01cfb2711439b0a Mon Sep 17 00:00:00 2001 From: David Mak Date: Mon, 5 Aug 2024 11:48:32 +0800 Subject: [PATCH] standalone: Add tuple len test --- nac3standalone/demo/src/tuple.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nac3standalone/demo/src/tuple.py b/nac3standalone/demo/src/tuple.py index f71d3f99..6947171d 100644 --- a/nac3standalone/demo/src/tuple.py +++ b/nac3standalone/demo/src/tuple.py @@ -25,5 +25,12 @@ def run() -> int32: output_int32(tl[0][0]) output_int32(tl[0][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 \ No newline at end of file