diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fib.result | 1 | ||||
-rw-r--r-- | test/fib.test | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/fib.result b/test/fib.result new file mode 100644 index 0000000..08c2ab3 --- /dev/null +++ b/test/fib.result @@ -0,0 +1 @@ +1346269 diff --git a/test/fib.test b/test/fib.test new file mode 100644 index 0000000..cb5a5fa --- /dev/null +++ b/test/fib.test @@ -0,0 +1,2 @@ +fib n = if n (if (n-1) (fib(n-1) + fib(n-2)) 1) 1 +fib(30) |