Unit tests

This commit is contained in:
2026-03-18 15:21:58 +11:00
parent 3f678e0cd7
commit 7443722dd5
10 changed files with 105 additions and 36 deletions

View File

@@ -18,7 +18,7 @@ fun !fib -int -int &n -function &fib
endfun
# Main program
println "Computing fib(30) recursively..."
call !fib 30 $fib &answer
println "Computing fib(20) recursively..."
call !fib 20 $fib &answer
println "Result:" $answer
end