diff --git a/src/tests.sh b/src/tests.sh index 24aa3ba..7f39c23 100755 --- a/src/tests.sh +++ b/src/tests.sh @@ -135,6 +135,8 @@ endBlock title "Lambdas" check "MultStmt" "(def yee (fn (a) (* 10 a))) ; (yee 5)" "50" check "DefinMap" "(def yee (fn (a) (* 10 a))) ; (map yee (5 10 2 (+ 12 0)))" "( 50 100 20 120 )" +check "AnonymousLambda" "\ + (map (fn (a) (* a a)) (5 6 7))" "( 25 36 49 )" check "FbnciSeq" "\ (def fib (fn (a) \ (if (< a 2) \