From 6e8123763241efcb259f68d6e0e6d3ffcbc32795 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Jul 2024 21:32:33 +0100 Subject: add for2 test --- tests/for2.bth | 3 +++ tests/for2.out | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 tests/for2.bth create mode 100644 tests/for2.out (limited to 'tests') diff --git a/tests/for2.bth b/tests/for2.bth new file mode 100644 index 0000000..66c490f --- /dev/null +++ b/tests/for2.bth @@ -0,0 +1,3 @@ +(let (a [6 7 8 9]) + (for (i (len a)) + (say (+ (a i) (* i 10))))) diff --git a/tests/for2.out b/tests/for2.out new file mode 100644 index 0000000..8bd19c3 --- /dev/null +++ b/tests/for2.out @@ -0,0 +1,4 @@ +6 +17 +28 +39 -- cgit v1.2.3